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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.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/SQLTransactionClient.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp b/third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp
index 3f61bfb6216b0b55ff47266aeadbe04c8a83d769..2be2f05d2a83a619660edb487b84cd687e6efe24 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp
@@ -79,7 +79,7 @@ void SQLTransactionClient::DidCommitWriteTransaction(Database* database) {
bool SQLTransactionClient::DidExceedQuota(Database* database) {
// Chromium does not allow users to manually change the quota for an origin
// (for now, at least). Don't do anything.
- ASSERT(
+ DCHECK(
database->GetDatabaseContext()->GetExecutionContext()->IsContextThread());
return false;
}

Powered by Google App Engine
This is Rietveld 408576698