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

Unified Diff: Source/bindings/core/v8/V8Binding.cpp

Issue 1119663002: Making Unicode character names consistent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comment fixes 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 | « no previous file | Source/core/css/parser/CSSTokenizer.cpp » ('j') | Source/core/layout/line/InlineFlowBox.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8Binding.cpp
diff --git a/Source/bindings/core/v8/V8Binding.cpp b/Source/bindings/core/v8/V8Binding.cpp
index 10d5ac38f7856944db9fa912f243994c56892492..0635d5af4c9bacb1083125b59dfab94929ff3fdf 100644
--- a/Source/bindings/core/v8/V8Binding.cpp
+++ b/Source/bindings/core/v8/V8Binding.cpp
@@ -582,13 +582,13 @@ static String replaceUnmatchedSurrogates(const String& string)
} else if (U16_IS_TRAIL(c)) {
// 0xDC00 <= c <= 0xDFFF
// Append to U a U+FFFD REPLACEMENT CHARACTER.
- u.append(WTF::Unicode::replacementCharacter);
+ u.append(replacementCharacter);
} else {
// 0xD800 <= c <= 0xDBFF
ASSERT(U16_IS_LEAD(c));
if (i == n - 1) {
// 1. If i = n-1, then append to U a U+FFFD REPLACEMENT CHARACTER.
- u.append(WTF::Unicode::replacementCharacter);
+ u.append(replacementCharacter);
} else {
// 2. Otherwise, i < n-1:
ASSERT(i < n - 1);
@@ -604,7 +604,7 @@ static String replaceUnmatchedSurrogates(const String& string)
++i;
} else {
// 3. Otherwise, d < 0xDC00 or d > 0xDFFF. Append to U a U+FFFD REPLACEMENT CHARACTER.
- u.append(WTF::Unicode::replacementCharacter);
+ u.append(replacementCharacter);
}
}
}
« no previous file with comments | « no previous file | Source/core/css/parser/CSSTokenizer.cpp » ('j') | Source/core/layout/line/InlineFlowBox.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698