Index: android_webview/browser/net/aw_url_request_context_getter.cc |
diff --git a/android_webview/browser/net/aw_url_request_context_getter.cc b/android_webview/browser/net/aw_url_request_context_getter.cc |
index ca1c5617550be34d808d025fcbb0a9d38a6b7d3e..0d9c5fde69039f8d1c5281eeecb01a8322747388 100644 |
--- a/android_webview/browser/net/aw_url_request_context_getter.cc |
+++ b/android_webview/browser/net/aw_url_request_context_getter.cc |
@@ -181,14 +181,14 @@ AwURLRequestContextGetter::AwURLRequestContextGetter( |
net_log_(new net::NetLog()) { |
proxy_config_service_ = config_service.Pass(); |
// CreateSystemProxyConfigService for Android must be called on main thread. |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
} |
AwURLRequestContextGetter::~AwURLRequestContextGetter() { |
} |
void AwURLRequestContextGetter::InitializeURLRequestContext() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
DCHECK(!url_request_context_); |
net::URLRequestContextBuilder builder; |
@@ -248,7 +248,7 @@ void AwURLRequestContextGetter::InitializeURLRequestContext() { |
} |
net::URLRequestContext* AwURLRequestContextGetter::GetURLRequestContext() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
if (!url_request_context_) |
InitializeURLRequestContext(); |