Index: content/browser/resource_context_impl.cc |
diff --git a/content/browser/resource_context_impl.cc b/content/browser/resource_context_impl.cc |
index d481206ed5cac4c8ac97ddc46bdbfb4b27621bed..b99c80d54ab0d6d5b4bb105d09cf47af59567bbe 100644 |
--- a/content/browser/resource_context_impl.cc |
+++ b/content/browser/resource_context_impl.cc |
@@ -69,21 +69,21 @@ void ResourceContext::CreateKeygenHandler( |
ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext( |
const ResourceContext* resource_context) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
return UserDataAdapter<ChromeBlobStorageContext>::Get( |
resource_context, kBlobStorageContextKeyName); |
} |
StreamContext* GetStreamContextForResourceContext( |
const ResourceContext* resource_context) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
return UserDataAdapter<StreamContext>::Get( |
resource_context, kStreamContextKeyName); |
} |
URLDataManagerBackend* GetURLDataManagerForResourceContext( |
ResourceContext* context) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
if (!context->GetUserData(kURLDataManagerBackendKeyName)) { |
context->SetUserData(kURLDataManagerBackendKeyName, |
new URLDataManagerBackend()); |