Index: third_party/WebKit/Source/platform/fonts/Font.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/Font.cpp b/third_party/WebKit/Source/platform/fonts/Font.cpp |
index 1278325f24f7d18c65db12050fc226311eb37765..404b2b287ef9a841386e083126f22d8365d7b2ee 100644 |
--- a/third_party/WebKit/Source/platform/fonts/Font.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/Font.cpp |
@@ -523,8 +523,7 @@ GlyphData Font::glyphDataForCharacter(UChar32& c, bool mirror, bool normalizeSpa |
if (variant == AutoVariant) { |
if (m_fontDescription.variantCaps() == FontDescription::SmallCaps) { |
- bool includeDefault = false; |
- UChar32 upperC = toUpper(c, m_fontDescription.locale(includeDefault)); |
+ UChar32 upperC = toUpper(c, LayoutLocale::localeString(m_fontDescription.locale())); |
if (upperC != c) { |
c = upperC; |
variant = SmallCapsVariant; |