| Index: third_party/WebKit/Source/platform/text/SegmentedString.h
|
| diff --git a/third_party/WebKit/Source/platform/text/SegmentedString.h b/third_party/WebKit/Source/platform/text/SegmentedString.h
|
| index 9ba74e1207f1c5ecba29d3ba32dc6b54dc920702..49f00fab74dedfefba7429f5165e6ea9da23c8b1 100644
|
| --- a/third_party/WebKit/Source/platform/text/SegmentedString.h
|
| +++ b/third_party/WebKit/Source/platform/text/SegmentedString.h
|
| @@ -259,14 +259,13 @@ class PLATFORM_EXPORT SegmentedString {
|
| }
|
|
|
| void advanceAndASSERT(UChar expectedCharacter) {
|
| - ASSERT_UNUSED(expectedCharacter, currentChar() == expectedCharacter);
|
| + DCHECK_EQ(expectedCharacter, currentChar());
|
| advance();
|
| }
|
|
|
| void advanceAndASSERTIgnoringCase(UChar expectedCharacter) {
|
| - ASSERT_UNUSED(expectedCharacter,
|
| - WTF::Unicode::foldCase(currentChar()) ==
|
| - WTF::Unicode::foldCase(expectedCharacter));
|
| + DCHECK_EQ(WTF::Unicode::foldCase(currentChar()),
|
| + WTF::Unicode::foldCase(expectedCharacter));
|
| advance();
|
| }
|
|
|
|
|