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

Unified Diff: third_party/WebKit/Source/core/dom/ClassCollection.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/DOMArrayBufferBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/ClassCollection.h
diff --git a/third_party/WebKit/Source/core/dom/ClassCollection.h b/third_party/WebKit/Source/core/dom/ClassCollection.h
index ee6cd5d3e08e891cb3aacf4271632001236cd494..c19386ecdc58f2995ef7ce55bb257f3d8425a833 100644
--- a/third_party/WebKit/Source/core/dom/ClassCollection.h
+++ b/third_party/WebKit/Source/core/dom/ClassCollection.h
@@ -45,7 +45,7 @@ class ClassCollection final : public HTMLCollection {
static ClassCollection* create(ContainerNode& rootNode,
CollectionType type,
const AtomicString& classNames) {
- ASSERT_UNUSED(type, type == ClassCollectionType);
+ DCHECK_EQ(type, ClassCollectionType);
return new ClassCollection(rootNode, classNames);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/DOMArrayBufferBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698