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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl

Issue 2873293002: Replace ASSERT with DCHECK_EQ as appropriate (Closed)
Patch Set: rebase Created 3 years, 7 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/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
index 219fbc6a1bbf25427ee1ceed48d4ee864666b275..a89634e99b26b673022f6b8e2117214912e39d61 100644
--- a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
@@ -65,7 +65,7 @@ bool CSSPropertyMetadata::IsEnabledProperty(CSSPropertyID unresolvedProperty) {
if (unresolvedProperty == CSSPropertyVariable)
return true;
- ASSERT(unresolvedProperty == CSSPropertyApplyAtRule);
+ DCHECK_EQ(unresolvedProperty, CSSPropertyApplyAtRule);
return RuntimeEnabledFeatures::cssApplyAtRulesEnabled();
}

Powered by Google App Engine
This is Rietveld 408576698