| Index: third_party/WebKit/Source/wtf/text/UTF8.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/text/UTF8.cpp b/third_party/WebKit/Source/wtf/text/UTF8.cpp
|
| index 3fd09afd1e2f3bb68065a79261bad2cedf433bc3..cdd89a2edfb608dccd685177eb3066f4046d4d25 100644
|
| --- a/third_party/WebKit/Source/wtf/text/UTF8.cpp
|
| +++ b/third_party/WebKit/Source/wtf/text/UTF8.cpp
|
| @@ -385,7 +385,7 @@ unsigned calculateStringHashAndLengthFromUTF8MaskingTop8Bits(
|
| return 0;
|
|
|
| UChar32 character = readUTF8Sequence(data, utf8SequenceLength);
|
| - ASSERT(!isASCII(character));
|
| + DCHECK(!isASCII(character));
|
|
|
| if (U_IS_BMP(character)) {
|
| // UTF-16 surrogate values are illegal in UTF-32
|
| @@ -427,7 +427,7 @@ ALWAYS_INLINE bool equalWithUTF8Internal(const CharType* a,
|
| return 0;
|
|
|
| UChar32 character = readUTF8Sequence(b, utf8SequenceLength);
|
| - ASSERT(!isASCII(character));
|
| + DCHECK(!isASCII(character));
|
|
|
| if (U_IS_BMP(character)) {
|
| // UTF-16 surrogate values are illegal in UTF-32
|
|
|