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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.cpp

Issue 2873293002: Replace ASSERT with DCHECK_EQ as appropriate (Closed)
Patch Set: rebase Created 3 years, 7 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/sqlite/SQLiteDatabase.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.cpp b/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.cpp
index 8dd5d0df672ca8da1c1bb8677c3b7b17391971d5..ae92d3edea0c2875fa8c5a0ce900dfbd0cb04e63 100644
--- a/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.cpp
@@ -101,7 +101,7 @@ void SQLiteDatabase::Close() {
if (db_) {
// FIXME: This is being called on the main thread during JS GC.
// <rdar://problem/5739818>
- // ASSERT(currentThread() == m_openingThread);
+ // DCHECK_EQ(currentThread(), m_openingThread);
sqlite3* db = db_;
{
MutexLocker locker(database_closing_mutex_);

Powered by Google App Engine
This is Rietveld 408576698