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

Unified Diff: Source/wtf/text/StringImpl.cpp

Issue 1119663002: Making Unicode character names consistent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase patch 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
« no previous file with comments | « Source/web/PopupListBox.cpp ('k') | Source/wtf/text/TextCodecICU.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/StringImpl.cpp
diff --git a/Source/wtf/text/StringImpl.cpp b/Source/wtf/text/StringImpl.cpp
index 8da23feb15b44ef65aa7d023a3c8e376694de4c2..14fb36d6564cc40d8562c602b1b1fbdf9d4cea12 100644
--- a/Source/wtf/text/StringImpl.cpp
+++ b/Source/wtf/text/StringImpl.cpp
@@ -606,7 +606,7 @@ PassRefPtr<StringImpl> StringImpl::upper()
// 2. Lower case sharp-S converts to "SS" (two characters)
for (int32_t i = 0; i < length; ++i) {
LChar c = characters8()[i];
- if (UNLIKELY(c == smallLetterSharpS))
+ if (UNLIKELY(c == smallLetterSharpSCharacter))
++numberSharpSCharacters;
UChar upper = static_cast<UChar>(Unicode::toUpper(c));
if (UNLIKELY(upper > 0xff)) {
@@ -626,7 +626,7 @@ PassRefPtr<StringImpl> StringImpl::upper()
for (int32_t i = 0; i < length; ++i) {
LChar c = characters8()[i];
- if (c == smallLetterSharpS) {
+ if (c == smallLetterSharpSCharacter) {
*dest++ = 'S';
*dest++ = 'S';
} else
« no previous file with comments | « Source/web/PopupListBox.cpp ('k') | Source/wtf/text/TextCodecICU.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698