Skip to content
  • pilgrim@chromium.org's avatar
    [Chromium] remove getFontFamilyForCharacters from PlatformSupport · 651734d7
    pilgrim@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=96282
    
    Reviewed by Tony Chang.
    
    Migrating away from PlatformSupport. getFontFamilyForCharacters is
    moved to FontCache.h and overridden by the two platforms that
    need it (Chromium Linux and Blackberry). New files for the overrides.
    Part of a larger refactoring series. See tracking bug 82948.
    
    Source/WebCore:
    
    * PlatformBlackBerry.cmake:
    * WebCore.gypi:
    * platform/chromium/PlatformSupport.h:
    (PlatformSupport):
    * platform/graphics/FontCache.h:
    (SimpleFontFamily):
    (FontCache):
    * platform/graphics/blackberry/FontCacheBlackberry.cpp: Added.
    (WebCore):
    (WebCore::FontCache::getFontFamilyForCharacters):
    * platform/graphics/blackberry/skia/PlatformSupport.cpp:
    (WebCore):
    * platform/graphics/blackberry/skia/PlatformSupport.h:
    (PlatformSupport):
    * platform/graphics/chromium/FontCacheAndroid.cpp:
    (WebCore::FontCache::getFontDataForCharacters):
    * platform/graphics/chromium/FontCacheChromiumLinux.cpp: Added.
    (WebCore):
    (WebCore::FontCache::getFontFamilyForCharacters):
    * platform/graphics/skia/FontCacheSkia.cpp:
    (WebCore::FontCache::getFontDataForCharacters):
    
    Source/WebKit/chromium:
    
    * src/PlatformSupport.cpp:
    (WebCore):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    651734d7