| Index: Source/core/platform/graphics/chromium/FontCacheAndroid.cpp
|
| diff --git a/Source/core/platform/graphics/chromium/FontCacheAndroid.cpp b/Source/core/platform/graphics/chromium/FontCacheAndroid.cpp
|
| index 2cf212a8b0254dc17a8294798dab6ebe67f64515..d8f7e23d8141126a78ad32c7b55d2fb818d6d728 100644
|
| --- a/Source/core/platform/graphics/chromium/FontCacheAndroid.cpp
|
| +++ b/Source/core/platform/graphics/chromium/FontCacheAndroid.cpp
|
| @@ -42,7 +42,8 @@ namespace WebCore {
|
| PassRefPtr<SimpleFontData> FontCache::getFontDataForCharacter(const Font& font, UChar32 c)
|
| {
|
| SkString skiaFamilyName;
|
| - if (!SkGetFallbackFamilyNameForChar(c, &skiaFamilyName) || skiaFamilyName.isEmpty())
|
| + if (!SkGetFallbackFamilyNameForChar(c, font.fontDescription().locale().string().ascii().data(), &skiaFamilyName)
|
| + || skiaFamilyName.isEmpty())
|
| return 0;
|
| return getFontResourceData(getFontResourcePlatformData(font.fontDescription(), AtomicString(skiaFamilyName.c_str()), DoNotRetain), DoNotRetain);
|
| }
|
|
|