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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.cpp

Issue 2813433002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/webdatabase (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/webdatabase Created 3 years, 8 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/modules/webdatabase/SQLResultSetRowList.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.cpp b/third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.cpp
index 1e25a86d102c3b391166e8ba1009292dfdcc3b07..8288bc90b3d64f4decbf2372b127047f72ef63ff 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLResultSetRowList.cpp
@@ -39,7 +39,7 @@ unsigned SQLResultSetRowList::length() const {
if (result_.size() == 0)
return 0;
- ASSERT(result_.size() % columns_.size() == 0);
+ DCHECK_EQ(result_.size() % columns_.size(), 0u);
return result_.size() / columns_.size();
}

Powered by Google App Engine
This is Rietveld 408576698