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

Unified Diff: third_party/WebKit/Source/core/dom/TagCollection.h

Issue 2401523002: Replace ASSERT family with DCHECK and so on in core/dom/. (Closed)
Patch Set: Created 4 years, 2 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/core/dom/TagCollection.h
diff --git a/third_party/WebKit/Source/core/dom/TagCollection.h b/third_party/WebKit/Source/core/dom/TagCollection.h
index 798a797c4d120e36cbc4a6c0300831735d8ef28b..640a26fa69be8d0b2b46654ecf58ea1e41e5e763 100644
--- a/third_party/WebKit/Source/core/dom/TagCollection.h
+++ b/third_party/WebKit/Source/core/dom/TagCollection.h
@@ -43,7 +43,7 @@ class TagCollection : public HTMLCollection {
static TagCollection* create(ContainerNode& rootNode,
CollectionType type,
const AtomicString& localName) {
- ASSERT_UNUSED(type, type == TagCollectionType);
+ DCHECK_EQ(type, TagCollectionType);
return new TagCollection(rootNode, TagCollectionType, starAtom, localName);
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp ('k') | third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698