Index: content/browser/fileapi/chrome_blob_storage_context.cc |
diff --git a/content/browser/fileapi/chrome_blob_storage_context.cc b/content/browser/fileapi/chrome_blob_storage_context.cc |
index 1f8acc8f7a6332030b38c0da0934157ca8fe9d3e..5e2c4c83d1defc227d18f01ec8ac48456abdf40f 100644 |
--- a/content/browser/fileapi/chrome_blob_storage_context.cc |
+++ b/content/browser/fileapi/chrome_blob_storage_context.cc |
@@ -60,13 +60,13 @@ ChromeBlobStorageContext* ChromeBlobStorageContext::GetFor( |
} |
void ChromeBlobStorageContext::InitializeOnIOThread() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
context_.reset(new BlobStorageContext()); |
} |
scoped_ptr<BlobHandle> ChromeBlobStorageContext::CreateMemoryBackedBlob( |
const char* data, size_t length) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
std::string uuid(base::GenerateGUID()); |
storage::BlobDataBuilder blob_data_builder(uuid); |
@@ -87,7 +87,7 @@ scoped_ptr<BlobHandle> ChromeBlobStorageContext::CreateFileBackedBlob( |
int64_t offset, |
int64_t size, |
const base::Time& expected_modification_time) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
std::string uuid(base::GenerateGUID()); |
storage::BlobDataBuilder blob_data_builder(uuid); |