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

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

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: Created 4 years, 2 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/CSSParserImpl.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
index edd669abc2559b7e713b1d2bddf54cec27fa498a..df4464540a3dbd3fe6230eaffad4432169308684 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
@@ -816,7 +816,7 @@ void CSSParserImpl::consumeDeclarationList(CSSParserTokenRange range,
? ApplyRules
: NoRules;
StyleRuleBase* rule = consumeAtRule(range, allowedRules);
- ASSERT_UNUSED(rule, !rule);
+ DCHECK(!rule);
break;
}
default: // Parse error, unexpected token in declaration list

Powered by Google App Engine
This is Rietveld 408576698