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

Unified Diff: third_party/WebKit/Source/core/html/HTMLNameCollection.cpp

Issue 2258033002: Replace ASSERT()s with DCHECK*() in core/html/*.{cpp,h}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace ASSERT()s with DCHECK*() in core/html/*.{cpp,h}. Created 4 years, 4 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/html/HTMLNameCollection.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLNameCollection.cpp b/third_party/WebKit/Source/core/html/HTMLNameCollection.cpp
index 12554411a48a8e8c2d357cbd651f2114ac76f78b..672e07aaa6614c2d5430f100f0e57359451b4c70 100644
--- a/third_party/WebKit/Source/core/html/HTMLNameCollection.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLNameCollection.cpp
@@ -34,7 +34,7 @@ HTMLNameCollection::HTMLNameCollection(ContainerNode& document, CollectionType t
HTMLNameCollection::~HTMLNameCollection()
{
- ASSERT(type() == WindowNamedItems || type() == DocumentNamedItems);
+ DCHECK(type() == WindowNamedItems || type() == DocumentNamedItems);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMeterElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLObjectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698