Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2302)

Unified Diff: Source/platform/fonts/skia/FontCacheSkia.cpp

Issue 381893002: Do not specify language for font fallback (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Passing rebaseline job to bots Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/exported/linux/WebFontInfo.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/skia/FontCacheSkia.cpp
diff --git a/Source/platform/fonts/skia/FontCacheSkia.cpp b/Source/platform/fonts/skia/FontCacheSkia.cpp
index a21fed4868ed198bd524c2879bc372cb115478d9..cb00aa3bb564a0bf68b45f293283f5efd8a5db84 100644
--- a/Source/platform/fonts/skia/FontCacheSkia.cpp
+++ b/Source/platform/fonts/skia/FontCacheSkia.cpp
@@ -96,9 +96,8 @@ PassRefPtr<SimpleFontData> FontCache::fallbackFontForCharacter(const FontDescrip
return fontData;
}
- icu::Locale locale = icu::Locale::getDefault();
FontCache::PlatformFallbackFont fallbackFont;
- FontCache::getFontForCharacter(c, locale.getLanguage(), &fallbackFont);
+ FontCache::getFontForCharacter(c, "", &fallbackFont);
if (fallbackFont.name.isEmpty())
return nullptr;
« no previous file with comments | « Source/platform/exported/linux/WebFontInfo.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698