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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutText.cpp

Issue 2813533003: Add "Unicode" suffixes to some functions of WTF::String and WTF::StringImpl. (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | third_party/WebKit/Source/platform/fonts/shaping/CaseMappingHarfBuzzBufferFiller.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutText.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
index e31a90b05632a29d8d140d6e39d3a84fbcde154e..b26375c0b0d0af02b5fd696d85bf770430c1844d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
@@ -1720,10 +1720,10 @@ void ApplyTextTransform(const ComputedStyle* style,
MakeCapitalized(&text, previous_character);
break;
case ETextTransform::kUppercase:
- text = text.Upper(style->Locale());
+ text = text.UpperUnicode(style->Locale());
break;
case ETextTransform::kLowercase:
- text = text.Lower(style->Locale());
+ text = text.LowerUnicode(style->Locale());
break;
}
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/shaping/CaseMappingHarfBuzzBufferFiller.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698