Index: content/browser/indexed_db/indexed_db_active_blob_registry.cc |
diff --git a/content/browser/indexed_db/indexed_db_active_blob_registry.cc b/content/browser/indexed_db/indexed_db_active_blob_registry.cc |
index ea2bde2acf9b94471fca1f9ca4b2a1ac9aca9e5a..a5ea89d9e0594e15ba95464e7b2b1581786bc511 100644 |
--- a/content/browser/indexed_db/indexed_db_active_blob_registry.cc |
+++ b/content/browser/indexed_db/indexed_db_active_blob_registry.cc |
@@ -23,7 +23,7 @@ IndexedDBActiveBlobRegistry::~IndexedDBActiveBlobRegistry() { |
void IndexedDBActiveBlobRegistry::AddBlobRef(int64_t database_id, |
int64_t blob_key) { |
DCHECK(backing_store_); |
- DCHECK(backing_store_->task_runner()->RunsTasksOnCurrentThread()); |
+ DCHECK(backing_store_->task_runner()->RunsTasksInCurrentSequence()); |
DCHECK(KeyPrefix::IsValidDatabaseId(database_id)); |
DCHECK(DatabaseMetaDataKey::IsValidBlobKey(blob_key)); |
DCHECK(!base::ContainsKey(deleted_dbs_, database_id)); |
@@ -45,7 +45,7 @@ void IndexedDBActiveBlobRegistry::AddBlobRef(int64_t database_id, |
void IndexedDBActiveBlobRegistry::ReleaseBlobRef(int64_t database_id, |
int64_t blob_key) { |
DCHECK(backing_store_); |
- DCHECK(backing_store_->task_runner()->RunsTasksOnCurrentThread()); |
+ DCHECK(backing_store_->task_runner()->RunsTasksInCurrentSequence()); |
DCHECK(KeyPrefix::IsValidDatabaseId(database_id)); |
DCHECK(DatabaseMetaDataKey::IsValidBlobKey(blob_key)); |
const auto& db_pair = use_tracker_.find(database_id); |
@@ -85,7 +85,7 @@ void IndexedDBActiveBlobRegistry::ReleaseBlobRef(int64_t database_id, |
bool IndexedDBActiveBlobRegistry::MarkDeletedCheckIfUsed(int64_t database_id, |
int64_t blob_key) { |
DCHECK(backing_store_); |
- DCHECK(backing_store_->task_runner()->RunsTasksOnCurrentThread()); |
+ DCHECK(backing_store_->task_runner()->RunsTasksInCurrentSequence()); |
DCHECK(KeyPrefix::IsValidDatabaseId(database_id)); |
const auto& db_pair = use_tracker_.find(database_id); |
if (db_pair == use_tracker_.end()) |