Index: content/shell/browser/shell_url_request_context_getter.cc |
diff --git a/content/shell/browser/shell_url_request_context_getter.cc b/content/shell/browser/shell_url_request_context_getter.cc |
index 626351ab2219bd422a1fab0312f60a51a74d9a11..b6218aba6601ab3931c4fd3357934083f32c8b4b 100644 |
--- a/content/shell/browser/shell_url_request_context_getter.cc |
+++ b/content/shell/browser/shell_url_request_context_getter.cc |
@@ -74,7 +74,7 @@ ShellURLRequestContextGetter::ShellURLRequestContextGetter( |
net_log_(net_log), |
request_interceptors_(request_interceptors.Pass()) { |
// Must first be created on the UI thread. |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
std::swap(protocol_handlers_, *protocol_handlers); |
@@ -103,7 +103,7 @@ net::ProxyService* ShellURLRequestContextGetter::GetProxyService() { |
} |
net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
if (!url_request_context_) { |
const base::CommandLine& command_line = |