Index: Source/platform/fonts/android/FontCacheAndroid.cpp |
diff --git a/Source/platform/fonts/android/FontCacheAndroid.cpp b/Source/platform/fonts/android/FontCacheAndroid.cpp |
index 72c649d07ab4a21287de80e9a6cc1638b6238aa2..d0b6afc080c9761f9ce10d1707b38a586a02a29c 100644 |
--- a/Source/platform/fonts/android/FontCacheAndroid.cpp |
+++ b/Source/platform/fonts/android/FontCacheAndroid.cpp |
@@ -34,6 +34,7 @@ |
#include "platform/fonts/SimpleFontData.h" |
#include "platform/fonts/FontDescription.h" |
+#include "platform/fonts/FontFaceCreationParams.h" |
#include "SkTypeface_android.h" |
@@ -74,7 +75,7 @@ PassRefPtr<SimpleFontData> FontCache::fallbackFontForCharacter(const FontDescrip |
AtomicString familyName = getFamilyNameForCharacter(c, fontDescription.script()); |
if (familyName.isEmpty()) |
return getLastResortFallbackFont(fontDescription, DoNotRetain); |
- return fontDataFromFontPlatformData(getFontPlatformData(fontDescription, familyName), DoNotRetain); |
+ return fontDataFromFontPlatformData(getFontPlatformData(fontDescription, FontFaceCreationParams(familyName)), DoNotRetain); |
} |
// static |