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

Unified Diff: third_party/WebKit/Source/core/dom/NameNodeList.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/NameNodeList.h
diff --git a/third_party/WebKit/Source/core/dom/NameNodeList.h b/third_party/WebKit/Source/core/dom/NameNodeList.h
index c25ca2389a8170e27c78d40b3b2fe6b951545dcb..7dc61c44733a9dacac7ee00c3d157b6033d0eb65 100644
--- a/third_party/WebKit/Source/core/dom/NameNodeList.h
+++ b/third_party/WebKit/Source/core/dom/NameNodeList.h
@@ -35,7 +35,7 @@ class NameNodeList final : public LiveNodeList {
static NameNodeList* create(ContainerNode& rootNode,
CollectionType type,
const AtomicString& name) {
- ASSERT_UNUSED(type, type == NameNodeListType);
+ DCHECK_EQ(type, NameNodeListType);
return new NameNodeList(rootNode, name);
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/IntersectionObserver.cpp ('k') | third_party/WebKit/Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698