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

Unified Diff: third_party/WebKit/Source/core/html/RadioNodeList.h

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/RadioNodeList.h
diff --git a/third_party/WebKit/Source/core/html/RadioNodeList.h b/third_party/WebKit/Source/core/html/RadioNodeList.h
index 766e0edd6ebbbc2c51f48f70e39e987ad4bf59ac..c218f35ab10fecccee303180281e906df84c4a80 100644
--- a/third_party/WebKit/Source/core/html/RadioNodeList.h
+++ b/third_party/WebKit/Source/core/html/RadioNodeList.h
@@ -37,7 +37,7 @@ class RadioNodeList final : public LiveNodeList {
public:
static RadioNodeList* create(ContainerNode& ownerNode, CollectionType type, const AtomicString& name)
{
- ASSERT_UNUSED(type, type == RadioNodeListType || type == RadioImgNodeListType);
+ DCHECK(type == RadioNodeListType || type == RadioImgNodeListType);
return new RadioNodeList(ownerNode, name, type);
}
« no previous file with comments | « third_party/WebKit/Source/core/html/PluginDocument.cpp ('k') | third_party/WebKit/Source/core/html/RadioNodeList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698