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

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: actually fix WorkerBackingthread 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..a47313fb36e6524644c4d75a64afa14aee0040a7 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,8 @@ void StyleBuilder::ApplyProperty(CSSPropertyID property,
{% endfor %}
case CSSPropertyVariable:
- ASSERT(!isInitial && !isInherit);
+ DCHECK(!isInitial);
+ DCHECK(!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