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

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

Issue 2896443003: Replace remaining ASSERT with DCHECK/_EQ as appropriate (Closed)
Patch Set: 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/StyleBuilder.cpp.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl
index bf79041f39c1827546478e6f4e99edea75b2d4a4..6f03df4c9f5d27e7845f51e333f3fd1b47409b91 100644
--- a/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl
@@ -33,7 +33,7 @@ void StyleBuilder::ApplyProperty(CSSPropertyID property,
{% endfor %}
case CSSPropertyVariable:
- ASSERT(!isInitial && !isInherit);
+ DCHECK(!isInitial && !isInherit);
StyleBuilderFunctions::applyValueCSSPropertyVariable(state, value);
return;
{% for property_id, property in properties.items() if property.direction_aware %}

Powered by Google App Engine
This is Rietveld 408576698