Index: Source/core/platform/graphics/FontCache.h |
diff --git a/Source/core/platform/graphics/FontCache.h b/Source/core/platform/graphics/FontCache.h |
index 882b5eeb7b1039573497e05c80a64fda5d71e9f8..bcce6fa9b2a634351d62caf8a20e9d7f5312bad8 100644 |
--- a/Source/core/platform/graphics/FontCache.h |
+++ b/Source/core/platform/graphics/FontCache.h |
@@ -106,12 +106,16 @@ public: |
PassRefPtr<OpenTypeVerticalData> getVerticalData(const FontFileKey&, const FontPlatformData&); |
#endif |
+#if OS(ANDROID) |
+ static AtomicString getGenericFamilyNameForScript(const AtomicString& familyName, UScriptCode); |
+#else |
struct SimpleFontFamily { |
String name; |
bool isBold; |
bool isItalic; |
}; |
static void getFontFamilyForCharacter(UChar32, const char* preferredLocale, SimpleFontFamily*); |
+#endif |
private: |
FontCache(); |