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

Unified Diff: third_party/WebKit/Source/core/html/WindowNameCollection.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
« no previous file with comments | « third_party/WebKit/Source/core/html/URLRegistry.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/WindowNameCollection.h
diff --git a/third_party/WebKit/Source/core/html/WindowNameCollection.h b/third_party/WebKit/Source/core/html/WindowNameCollection.h
index a2b5ce19d037ffe3e3b248b20af9cde733868c10..7f34e685dcf80e619cd6b31fc7ee6b15d7be55f8 100644
--- a/third_party/WebKit/Source/core/html/WindowNameCollection.h
+++ b/third_party/WebKit/Source/core/html/WindowNameCollection.h
@@ -13,7 +13,7 @@ class WindowNameCollection final : public HTMLNameCollection {
public:
static WindowNameCollection* create(ContainerNode& document, CollectionType type, const AtomicString& name)
{
- ASSERT_UNUSED(type, type == WindowNamedItems);
+ DCHECK_EQ(type, WindowNamedItems);
return new WindowNameCollection(document, name);
}
« no previous file with comments | « third_party/WebKit/Source/core/html/URLRegistry.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698