| Index: third_party/WebKit/Source/platform/text/DateTimeFormat.cpp
|
| diff --git a/third_party/WebKit/Source/platform/text/DateTimeFormat.cpp b/third_party/WebKit/Source/platform/text/DateTimeFormat.cpp
|
| index 32bb1c2291847603b4c31c3244f8a1fcde113144..f2184400146131ea7fc39a1eaf2c64bbdb80aeef 100644
|
| --- a/third_party/WebKit/Source/platform/text/DateTimeFormat.cpp
|
| +++ b/third_party/WebKit/Source/platform/text/DateTimeFormat.cpp
|
| @@ -179,9 +179,9 @@ bool DateTimeFormat::parse(const String& source, TokenHandler& tokenHandler) {
|
| break;
|
|
|
| case StateSymbol: {
|
| - ASSERT(fieldType != FieldTypeInvalid);
|
| - ASSERT(fieldType != FieldTypeLiteral);
|
| - ASSERT(literalBuffer.isEmpty());
|
| + DCHECK_NE(fieldType, FieldTypeInvalid);
|
| + DCHECK_NE(fieldType, FieldTypeLiteral);
|
| + DCHECK(literalBuffer.isEmpty());
|
|
|
| FieldType fieldType2 = mapCharacterToFieldType(ch);
|
| if (fieldType2 == FieldTypeInvalid)
|
| @@ -211,7 +211,7 @@ bool DateTimeFormat::parse(const String& source, TokenHandler& tokenHandler) {
|
| }
|
| }
|
|
|
| - ASSERT(fieldType != FieldTypeInvalid);
|
| + DCHECK_NE(fieldType, FieldTypeInvalid);
|
|
|
| switch (state) {
|
| case StateLiteral:
|
| @@ -227,13 +227,13 @@ bool DateTimeFormat::parse(const String& source, TokenHandler& tokenHandler) {
|
| return false;
|
|
|
| case StateSymbol:
|
| - ASSERT(fieldType != FieldTypeLiteral);
|
| - ASSERT(!literalBuffer.length());
|
| + DCHECK_NE(fieldType, FieldTypeLiteral);
|
| + DCHECK(!literalBuffer.length());
|
| tokenHandler.visitField(fieldType, fieldCounter);
|
| return true;
|
| }
|
|
|
| - ASSERT_NOT_REACHED();
|
| + NOTREACHED();
|
| return false;
|
| }
|
|
|
|
|