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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/MakeQualifiedNames.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/MakeQualifiedNames.cpp.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl
index 36b0b18105220588fee29fa07a0ab17833ec183d..781fe0b1e4beb936db509804b9be6a1b1434e573 100644
--- a/third_party/WebKit/Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl
@@ -97,9 +97,9 @@ void init() {
attr_i++;
}
{% if tags %}
- ASSERT(tag_i == {{namespace}}TagsCount);
+ DCHECK_EQ(tag_i, {{namespace}}TagsCount);
{% endif %}
- ASSERT(attr_i == {{namespace}}AttrsCount);
+ DCHECK_EQ(attr_i, {{namespace}}AttrsCount);
}
} // {{namespace}}

Powered by Google App Engine
This is Rietveld 408576698