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

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: 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 | « no previous file | Source/core/css/parser/CSSTokenizer.cpp » ('j') | no next file with comments »
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 3fa946a94691548c7f42b3762f349c4f802bef94..da5a425ec3ebd443c9b41a02b0e22cf56944cf11 100644
--- a/Source/bindings/core/v8/V8Binding.cpp
+++ b/Source/bindings/core/v8/V8Binding.cpp
@@ -584,13 +584,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);
@@ -606,7 +606,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698