Index: Source/platform/text/UnicodeUtilities.cpp |
diff --git a/Source/platform/text/UnicodeUtilities.cpp b/Source/platform/text/UnicodeUtilities.cpp |
index 7fd0cbaff0fbada7e595527d255ec61f3d8d6497..1f98a23d15b74f287037a1270870157c75f6d17b 100644 |
--- a/Source/platform/text/UnicodeUtilities.cpp |
+++ b/Source/platform/text/UnicodeUtilities.cpp |
@@ -45,15 +45,15 @@ template <typename CharType> |
static inline CharType foldQuoteMarkOrSoftHyphen(CharType c) |
{ |
switch (static_cast<UChar>(c)) { |
- case hebrewPunctuationGershayim: |
- case leftDoubleQuotationMark: |
- case rightDoubleQuotationMark: |
+ case hebrewPunctuationGershayimCharacter: |
+ case leftDoubleQuotationMarkCharacter: |
+ case rightDoubleQuotationMarkCharacter: |
return '"'; |
- case hebrewPunctuationGeresh: |
- case leftSingleQuotationMark: |
- case rightSingleQuotationMark: |
+ case hebrewPunctuationGereshCharacter: |
+ case leftSingleQuotationMarkCharacter: |
+ case rightSingleQuotationMarkCharacter: |
return '\''; |
- case softHyphen: |
+ case softHyphenCharacter: |
// Replace soft hyphen with an ignorable character so that their presence or absence will |
// not affect string comparison. |
return 0; |
@@ -70,15 +70,15 @@ void foldQuoteMarksAndSoftHyphens(UChar* data, size_t length) |
void foldQuoteMarksAndSoftHyphens(String& s) |
{ |
- s.replace(hebrewPunctuationGeresh, '\''); |
- s.replace(hebrewPunctuationGershayim, '"'); |
- s.replace(leftDoubleQuotationMark, '"'); |
- s.replace(leftSingleQuotationMark, '\''); |
- s.replace(rightDoubleQuotationMark, '"'); |
- s.replace(rightSingleQuotationMark, '\''); |
+ s.replace(hebrewPunctuationGereshCharacter, '\''); |
+ s.replace(hebrewPunctuationGershayimCharacter, '"'); |
+ s.replace(leftDoubleQuotationMarkCharacter, '"'); |
+ s.replace(leftSingleQuotationMarkCharacter, '\''); |
+ s.replace(rightDoubleQuotationMarkCharacter, '"'); |
+ s.replace(rightSingleQuotationMarkCharacter, '\''); |
// Replace soft hyphen with an ignorable character so that their presence or absence will |
// not affect string comparison. |
- s.replace(softHyphen, 0); |
+ s.replace(softHyphenCharacter, 0); |
} |
static bool isNonLatin1Separator(UChar32 character) |