Index: third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h b/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h |
index 50b3717b3960f78a7a4c5c5d5de0009c109e680a..fc0213e481ae364347621248b16fd34c725674a6 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h |
@@ -204,7 +204,7 @@ class CORE_EXPORT HTMLTokenizer { |
inline void parseError(); |
inline void bufferCharacter(UChar character) { |
- ASSERT(character != kEndOfFileMarker); |
+ DCHECK_NE(character, kEndOfFileMarker); |
m_token->ensureIsCharacterToken(); |
m_token->appendToCharacter(character); |
} |
@@ -245,7 +245,7 @@ class CORE_EXPORT HTMLTokenizer { |
inline void addToPossibleEndTag(LChar cc); |
inline void saveEndTagNameIfNeeded() { |
- ASSERT(m_token->type() != HTMLToken::Uninitialized); |
+ DCHECK_NE(m_token->type(), HTMLToken::Uninitialized); |
if (m_token->type() == HTMLToken::StartTag) |
m_appropriateEndTagName = m_token->name(); |
} |