X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fcss%2FCSSFontSelector.h;h=cb6e392f7fb8cc1d78b00ea150753f31df7f740e;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=4296309ec781776f73cea3b32e006ebdf1fe463f;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/css/CSSFontSelector.h b/src/third_party/WebKit/Source/core/css/CSSFontSelector.h index 4296309..cb6e392 100644 --- a/src/third_party/WebKit/Source/core/css/CSSFontSelector.h +++ b/src/third_party/WebKit/Source/core/css/CSSFontSelector.h @@ -26,7 +26,7 @@ #ifndef CSSFontSelector_h #define CSSFontSelector_h -#include "core/css/CSSSegmentedFontFaceCache.h" +#include "core/css/FontFaceCache.h" #include "core/fetch/ResourcePtr.h" #include "platform/Timer.h" #include "platform/fonts/FontSelector.h" @@ -71,7 +71,7 @@ public: } virtual ~CSSFontSelector(); - virtual unsigned version() const OVERRIDE { return m_cssSegmentedFontFaceCache.version(); } + virtual unsigned version() const OVERRIDE { return m_fontFaceCache.version(); } virtual PassRefPtr getFontData(const FontDescription&, const AtomicString&) OVERRIDE; virtual void willUseFontData(const FontDescription&, const AtomicString& family) OVERRIDE; @@ -87,9 +87,10 @@ public: void unregisterForInvalidationCallbacks(CSSFontSelectorClient*); Document* document() const { return m_document; } - CSSSegmentedFontFaceCache* fontFaceCache() { return &m_cssSegmentedFontFaceCache; } + FontFaceCache* fontFaceCache() { return &m_fontFaceCache; } const GenericFontFamilySettings& genericFontFamilySettings() const { return m_genericFontFamilySettings; } + void updateGenericFontFamilySettings(Document&); void beginLoadingFontSoon(FontResource*); void loadPendingFonts(); @@ -101,7 +102,7 @@ private: Document* m_document; // FIXME: Move to Document or StyleEngine. - CSSSegmentedFontFaceCache m_cssSegmentedFontFaceCache; + FontFaceCache m_fontFaceCache; HashSet m_clients; FontLoader m_fontLoader;