| Index: third_party/WebKit/Source/core/editing/commands/SmartReplaceICU.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/SmartReplaceICU.cpp b/third_party/WebKit/Source/core/editing/commands/SmartReplaceICU.cpp
|
| index ad144a99816ade93dedc28ab3db7d0bfa77ebdcd..316e21223731a33708be80042238620a5979a5f5 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/SmartReplaceICU.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/SmartReplaceICU.cpp
|
| @@ -54,7 +54,7 @@ static USet* getSmartSet(bool isPreviousCharacter)
|
| UErrorCode ec = U_ZERO_ERROR;
|
| String whitespaceAndNewline("[[:WSpace:] [\\u000A\\u000B\\u000C\\u000D\\u0085]]");
|
| smartSet = uset_openPattern(whitespaceAndNewline.charactersWithNullTermination().data(), whitespaceAndNewline.length(), &ec);
|
| - ASSERT(U_SUCCESS(ec));
|
| + DCHECK(U_SUCCESS(ec)) << ec;
|
|
|
| // CJK ranges
|
| uset_addRange(smartSet, 0x1100, 0x1100 + 256); // Hangul Jamo (0x1100 - 0x11FF)
|
| @@ -78,7 +78,7 @@ static USet* getSmartSet(bool isPreviousCharacter)
|
| UErrorCode ec = U_ZERO_ERROR;
|
| String punctuationClass("[:P:]");
|
| USet* icuPunct = uset_openPattern(punctuationClass.charactersWithNullTermination().data(), punctuationClass.length(), &ec);
|
| - ASSERT(U_SUCCESS(ec));
|
| + DCHECK(U_SUCCESS(ec)) << ec;
|
| uset_addAll(smartSet, icuPunct);
|
| uset_close(icuPunct);
|
|
|
|
|