Index: chrome/browser/component_updater/component_updater_resource_throttle.cc |
diff --git a/chrome/browser/component_updater/component_updater_resource_throttle.cc b/chrome/browser/component_updater/component_updater_resource_throttle.cc |
index 5295fe77793cb91ffd6dcbf88f67c577c1c32f5c..dac716eaca7e8287ca8e48c682a3f48190f9ee50 100644 |
--- a/chrome/browser/component_updater/component_updater_resource_throttle.cc |
+++ b/chrome/browser/component_updater/component_updater_resource_throttle.cc |
@@ -48,11 +48,11 @@ class CUResourceThrottle : public content::ResourceThrottle, |
}; |
CUResourceThrottle::CUResourceThrottle() : state_(NEW) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
} |
CUResourceThrottle::~CUResourceThrottle() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
} |
void CUResourceThrottle::WillStartRequest(bool* defer) { |
@@ -74,7 +74,7 @@ const char* CUResourceThrottle::GetNameForLogging() const { |
} |
void CUResourceThrottle::Unblock() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
if (state_ == BLOCKED) |
controller()->Resume(); |
state_ = UNBLOCKED; |