Index: third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.cpp |
index 1ebc8b3ecd4ba928e594200d712254ecdbb4ede8..dd8c3765893c84a3df84f51301a19b1a812c0f92 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.cpp |
@@ -22,12 +22,12 @@ CSSParserTokenRange CSSParserTokenRange::makeSubRange( |
first = m_last; |
if (last == &staticEOFToken) |
last = m_last; |
- ASSERT(first <= last); |
+ DCHECK_LE(first, last); |
return CSSParserTokenRange(first, last); |
} |
CSSParserTokenRange CSSParserTokenRange::consumeBlock() { |
- ASSERT(peek().getBlockType() == CSSParserToken::BlockStart); |
+ DCHECK_EQ(peek().getBlockType(), CSSParserToken::BlockStart); |
const CSSParserToken* start = &peek() + 1; |
unsigned nestingLevel = 0; |
do { |