Index: chrome/browser/extensions/api/system_storage/system_storage_api.cc |
diff --git a/chrome/browser/extensions/api/system_storage/system_storage_api.cc b/chrome/browser/extensions/api/system_storage/system_storage_api.cc |
index c69c463d4a3fff0dcff2eea958eca160ab1300cb..6d8da0dad97873d39c290e5d34e67da0084272d5 100644 |
--- a/chrome/browser/extensions/api/system_storage/system_storage_api.cc |
+++ b/chrome/browser/extensions/api/system_storage/system_storage_api.cc |
@@ -40,7 +40,7 @@ SystemStorageEjectDeviceFunction::~SystemStorageEjectDeviceFunction() { |
} |
bool SystemStorageEjectDeviceFunction::RunImpl() { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
scoped_ptr<EjectDevice::Params> params(EjectDevice::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
@@ -104,7 +104,7 @@ SystemStorageGetAvailableCapacityFunction:: |
} |
bool SystemStorageGetAvailableCapacityFunction::RunImpl() { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
scoped_ptr<GetAvailableCapacity::Params> params( |
GetAvailableCapacity::Params::Create(*args_)); |