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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/StylePropertyShorthand.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/StylePropertyShorthand.cpp.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/StylePropertyShorthand.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/StylePropertyShorthand.cpp.tmpl
index f044dc0efcee7522f09d950d42d21ace14fa5cdc..93a61b162f4c1353fb369c53528655083f6efe38 100644
--- a/third_party/WebKit/Source/build/scripts/templates/StylePropertyShorthand.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/StylePropertyShorthand.cpp.tmpl
@@ -58,7 +58,7 @@ const StylePropertyShorthand& shorthandForProperty(CSSPropertyID propertyID) {
void getMatchingShorthandsForLonghand(
CSSPropertyID propertyID, Vector<StylePropertyShorthand, 4>* result) {
- ASSERT(!result->size());
+ DCHECK(!result->size());
switch (propertyID) {
{% for longhand_id, shorthands in longhands_dictionary.items() %}
case {{longhand_id}}: {

Powered by Google App Engine
This is Rietveld 408576698