Index: content/test/net/url_request_abort_on_end_job.cc |
diff --git a/content/test/net/url_request_abort_on_end_job.cc b/content/test/net/url_request_abort_on_end_job.cc |
index c7b51615b8ed46f8d1941c82d67362a7ff7ff039..02c095f586ccfc8c8c30ae9ce100839c534d97e3 100644 |
--- a/content/test/net/url_request_abort_on_end_job.cc |
+++ b/content/test/net/url_request_abort_on_end_job.cc |
@@ -26,12 +26,12 @@ net::URLRequestJob* JobFactory( |
net::URLRequest* request, |
net::NetworkDelegate* network_delegate, |
const std::string& scheme) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
return new URLRequestAbortOnEndJob(request, network_delegate); |
} |
void AddUrlHandlerOnIOThread() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance(); |
filter->AddUrlHandler(GURL(URLRequestAbortOnEndJob::k400AbortOnEndUrl), |
&JobFactory); |