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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DOMWindowWebDatabase.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/DOMWindowWebDatabase.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/DOMWindowWebDatabase.cpp b/third_party/WebKit/Source/modules/webdatabase/DOMWindowWebDatabase.cpp
index 29095a0d38c5147ac96807d77a9aed0396b15a92..c7516a1797b98cd5238ae0c48475eb5aeb95709a 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DOMWindowWebDatabase.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/DOMWindowWebDatabase.cpp
@@ -57,7 +57,7 @@ Database* DOMWindowWebDatabase::openDatabase(
database = db_manager.OpenDatabase(window.document(), name, version,
display_name, estimated_size,
creation_callback, error, error_message);
- ASSERT(database || error != DatabaseError::kNone);
+ DCHECK(database || error != DatabaseError::kNone);
if (error != DatabaseError::kNone)
DatabaseManager::ThrowExceptionForDatabaseError(error, error_message,
exception_state);

Powered by Google App Engine
This is Rietveld 408576698