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

Unified Diff: trunk/Source/platform/fonts/Font.cpp

Issue 1155543007: Revert 196325 "Make small-caps work correctly with tr locale" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 5 years, 7 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
Index: trunk/Source/platform/fonts/Font.cpp
===================================================================
--- trunk/Source/platform/fonts/Font.cpp (revision 196343)
+++ trunk/Source/platform/fonts/Font.cpp (working copy)
@@ -405,8 +405,7 @@
if (variant == AutoVariant) {
if (m_fontDescription.variant() == FontVariantSmallCaps) {
- bool includeDefault = false;
- UChar32 upperC = toUpper(c, m_fontDescription.locale(includeDefault).characters8());
+ UChar32 upperC = toUpper(c);
if (upperC != c) {
c = upperC;
variant = SmallCapsVariant;

Powered by Google App Engine
This is Rietveld 408576698