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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTableRowsCollection.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/HTMLTableRowsCollection.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTableRowsCollection.cpp b/third_party/WebKit/Source/core/html/HTMLTableRowsCollection.cpp
index 5527c1245566381bc135888f5435bfd08760357a..1090b2c49d81b08533211acff673bd9d65018205 100644
--- a/third_party/WebKit/Source/core/html/HTMLTableRowsCollection.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTableRowsCollection.cpp
@@ -127,12 +127,12 @@ HTMLTableRowElement* HTMLTableRowsCollection::lastRow(HTMLTableElement& table)
HTMLTableRowsCollection::HTMLTableRowsCollection(ContainerNode& table)
: HTMLCollection(table, TableRows, OverridesItemAfter)
{
- ASSERT(isHTMLTableElement(table));
+ DCHECK(isHTMLTableElement(table));
}
HTMLTableRowsCollection* HTMLTableRowsCollection::create(ContainerNode& table, CollectionType type)
{
- ASSERT_UNUSED(type, type == TableRows);
+ DCHECK_EQ(type, TableRows);
return new HTMLTableRowsCollection(table);
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTableElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLTagCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698