Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: All windows error are Resolved now. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp
index 1953ae18088b256079c080a4584fa802ba8f4a46..0c7ca65005b6b8f0121a6cdbd41c39a14b6b66a4 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp
@@ -43,7 +43,7 @@ bool classifyBlock(CSSParserTokenRange range,
continue;
}
- ASSERT(range.peek().getBlockType() != CSSParserToken::BlockEnd);
+ DCHECK_NE(range.peek().getBlockType(), CSSParserToken::BlockEnd);
const CSSParserToken& token = range.consume();
switch (token.type()) {

Powered by Google App Engine
This is Rietveld 408576698