Index: third_party/WebKit/Source/platform/fonts/FontCache.h |
diff --git a/third_party/WebKit/Source/platform/fonts/FontCache.h b/third_party/WebKit/Source/platform/fonts/FontCache.h |
index 10e5f6115500206d02effac477cfabe8a67aa88c..e9e5d67a535ade028d047c4060eb44b62c64eadb 100644 |
--- a/third_party/WebKit/Source/platform/fonts/FontCache.h |
+++ b/third_party/WebKit/Source/platform/fonts/FontCache.h |
@@ -123,6 +123,7 @@ public: |
static const AtomicString& smallCaptionFontFamily() { return *s_smallCaptionFontFamilyName; } |
static int32_t statusFontHeight() { return s_statusFontHeight; } |
static const AtomicString& statusFontFamily() { return *s_statusFontFamilyName; } |
+ static void setUseSkiaFontFallback(bool useSkiaFontFallback) { s_useSkiaFontFallback = useSkiaFontFallback; } |
#endif |
typedef uint32_t FontFileKey; |
@@ -201,6 +202,7 @@ private: |
static int32_t s_smallCaptionFontHeight; |
static AtomicString* s_statusFontFamilyName; |
static int32_t s_statusFontHeight; |
+ static bool s_useSkiaFontFallback; |
#endif |
friend class SimpleFontData; // For fontDataFromFontPlatformData |
@@ -215,6 +217,8 @@ public: |
~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging(); } |
}; |
+CString toSkFontMgrLocale(const String& locale); |
+ |
} // namespace blink |
#endif |