Index: android_webview/browser/aw_request_interceptor.cc |
diff --git a/android_webview/browser/aw_request_interceptor.cc b/android_webview/browser/aw_request_interceptor.cc |
index 381a8ab03cdad3657424de878920657fd72bb17a..7784c036ef420b77bd4cf35fb978585f6a987f63 100644 |
--- a/android_webview/browser/aw_request_interceptor.cc |
+++ b/android_webview/browser/aw_request_interceptor.cc |
@@ -38,7 +38,7 @@ scoped_ptr<AwWebResourceResponse> |
AwRequestInterceptor::QueryForAwWebResourceResponse( |
const GURL& location, |
net::URLRequest* request) const { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
int render_process_id, render_frame_id; |
if (!ResourceRequestInfo::GetRenderFrameForRequest( |
request, &render_process_id, &render_frame_id)) |
@@ -56,7 +56,7 @@ AwRequestInterceptor::QueryForAwWebResourceResponse( |
net::URLRequestJob* AwRequestInterceptor::MaybeInterceptRequest( |
net::URLRequest* request, |
net::NetworkDelegate* network_delegate) const { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
// See if we've already found out the aw_web_resource_response for this |
// request. |