• darin's avatar
    Reviewed by Kevin Decker. · a5dc917c
    darin authored
            - fix <rdar://problem/5264923> Safari frequently "stalls" beneath
              +[NSFont fontWithName:size:] while loading a web page (searching on disk for the font)
    
            * platform/mac/WebFontCache.mm:
            (+[WebFontCache internalFontWithFamily:traits:size:]): Renamed from fontWithFamily.
            Took out the auto-activation code.
            (+[WebFontCache fontWithFamily:traits:size:]): Added. Calls internalFontWithFamily,
            then calls NSFont to trigger activation if that returned nil, then calls
            internalFontWithFamily again.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a5dc917c
ChangeLog 1.51 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.