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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/ChangeVersionWrapper.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webdatabase/DOMWindowWebDatabase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webdatabase/ChangeVersionWrapper.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/ChangeVersionWrapper.cpp b/third_party/WebKit/Source/modules/webdatabase/ChangeVersionWrapper.cpp
index b37d4f7ac273c9dff7ac8d91c83c59cc20267d53..40e70af7c73b213472a21ff4f98732c25e7b334c 100644
--- a/third_party/WebKit/Source/modules/webdatabase/ChangeVersionWrapper.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/ChangeVersionWrapper.cpp
@@ -39,7 +39,8 @@ ChangeVersionWrapper::ChangeVersionWrapper(const String& old_version,
bool ChangeVersionWrapper::PerformPreflight(
SQLTransactionBackend* transaction) {
- ASSERT(transaction && transaction->GetDatabase());
+ DCHECK(transaction);
+ DCHECK(transaction->GetDatabase());
Database* database = transaction->GetDatabase();
@@ -66,7 +67,8 @@ bool ChangeVersionWrapper::PerformPreflight(
bool ChangeVersionWrapper::PerformPostflight(
SQLTransactionBackend* transaction) {
- ASSERT(transaction && transaction->GetDatabase());
+ DCHECK(transaction);
+ DCHECK(transaction->GetDatabase());
Database* database = transaction->GetDatabase();
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webdatabase/DOMWindowWebDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698