| Index: content/browser/indexed_db/indexed_db_dispatcher_host.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.cc b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
|
| index baa3a69d10c7c2db3fa191be338a6750d9eb33cf..17e461612f83e7e2a5b9356f9f7bfdf0f1fdd557 100644
|
| --- a/content/browser/indexed_db/indexed_db_dispatcher_host.cc
|
| +++ b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
|
| @@ -221,7 +221,7 @@ uint32 IndexedDBDispatcherHost::TransactionIdToProcessId(
|
|
|
| std::string IndexedDBDispatcherHost::HoldBlobData(
|
| const IndexedDBBlobInfo& blob_info) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| std::string uuid = blob_info.uuid();
|
| storage::BlobStorageContext* context = blob_storage_context_->context();
|
| scoped_ptr<storage::BlobDataHandle> blob_data_handle;
|
| @@ -247,7 +247,7 @@ std::string IndexedDBDispatcherHost::HoldBlobData(
|
| }
|
|
|
| void IndexedDBDispatcherHost::DropBlobData(const std::string& uuid) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| BlobDataHandleMap::iterator iter = blob_data_handle_map_.find(uuid);
|
| if (iter != blob_data_handle_map_.end()) {
|
| DCHECK_GE(iter->second.second, 1);
|
| @@ -378,7 +378,7 @@ void IndexedDBDispatcherHost::OnPutHelper(
|
|
|
| void IndexedDBDispatcherHost::OnAckReceivedBlobs(
|
| const std::vector<std::string>& uuids) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| for (const auto& uuid : uuids)
|
| DropBlobData(uuid);
|
| }
|
|
|