Index: third_party/WebKit/Source/platform/text/UnicodeUtilities.cpp |
diff --git a/third_party/WebKit/Source/platform/text/UnicodeUtilities.cpp b/third_party/WebKit/Source/platform/text/UnicodeUtilities.cpp |
index 9a14846566171c74fc6e5d0736330c8f5fcd7e7a..55d47b10f9a4f7ddfcf512ae763c3e07dec5b781 100644 |
--- a/third_party/WebKit/Source/platform/text/UnicodeUtilities.cpp |
+++ b/third_party/WebKit/Source/platform/text/UnicodeUtilities.cpp |
@@ -77,7 +77,7 @@ void foldQuoteMarksAndSoftHyphens(String& s) |
s.replace(rightSingleQuotationMarkCharacter, '\''); |
// Replace soft hyphen with an ignorable character so that their presence or absence will |
// not affect string comparison. |
- s.replace(softHyphenCharacter, 0); |
+ s.replace(softHyphenCharacter, static_cast<UChar>('\0')); |
} |
static bool isNonLatin1Separator(UChar32 character) |