Index: chrome/browser/net/chrome_url_request_context_getter.cc |
diff --git a/chrome/browser/net/chrome_url_request_context_getter.cc b/chrome/browser/net/chrome_url_request_context_getter.cc |
index ab3ed5d1838412365771a761799f7230c9359f16..5f6f524c417b1114298475f5e3589e36d1d5603e 100644 |
--- a/chrome/browser/net/chrome_url_request_context_getter.cc |
+++ b/chrome/browser/net/chrome_url_request_context_getter.cc |
@@ -179,7 +179,7 @@ ChromeURLRequestContextGetter::~ChromeURLRequestContextGetter() {} |
// Lazily create a URLRequestContext using our factory. |
net::URLRequestContext* |
ChromeURLRequestContextGetter::GetURLRequestContext() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
if (factory_.get()) { |
DCHECK(!url_request_context_); |
@@ -195,7 +195,7 @@ ChromeURLRequestContextGetter::GetURLRequestContext() { |
} |
void ChromeURLRequestContextGetter::Invalidate() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
factory_.reset(); |
url_request_context_ = NULL; |
} |