| 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..cb6337a0568ffbaa480ab87ec0733a3c04c2be10 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, m_fontDescription.localeString());
|
| if (upperC != c) {
|
| c = upperC;
|
| variant = SmallCapsVariant;
|
|
|