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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSSupportsParser.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/CSSSupportsParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSSupportsParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSSupportsParser.cpp
index 8f36a7c511763bd7ec350d8d998ab34c0c354753..05482f9867cd2452d3fc1af752c16456e3b2d9dd 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSSupportsParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSSupportsParser.cpp
@@ -65,7 +65,7 @@ CSSSupportsParser::SupportsResult CSSSupportsParser::consumeCondition(
CSSSupportsParser::SupportsResult CSSSupportsParser::consumeNegation(
CSSParserTokenRange range) {
- ASSERT(range.peek().type() == IdentToken);
+ DCHECK_EQ(range.peek().type(), IdentToken);
if (!equalIgnoringASCIICase(range.consume().value(), "not"))
return Invalid;
if (range.consumeIncludingWhitespace().type() != WhitespaceToken)

Powered by Google App Engine
This is Rietveld 408576698