Index: third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp b/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp |
index 630fb24d207c9570cc1839ffd86d7f53352b8b31..6b57d8532d45191b5c74c07db724d0feb0661ef1 100644 |
--- a/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp |
@@ -105,7 +105,7 @@ PassRefPtr<SimpleFontData> FontCache::fallbackFontForCharacter( |
} |
FontCache::PlatformFallbackFont fallbackFont; |
- FontCache::getFontForCharacter(c, fontDescription.locale().ascii().data(), &fallbackFont); |
+ FontCache::getFontForCharacter(c, fontDescription.localeOrDefault().ascii().data(), &fallbackFont); |
if (fallbackFont.name.isEmpty()) |
return nullptr; |