Index: chrome/browser/net/proxy_service_factory.cc |
diff --git a/chrome/browser/net/proxy_service_factory.cc b/chrome/browser/net/proxy_service_factory.cc |
index a50e520d3dfa0fe808b7457c0a478ea66c408f37..96293f8a816a13186e58d7cb35d52b1e2be102ed 100644 |
--- a/chrome/browser/net/proxy_service_factory.cc |
+++ b/chrome/browser/net/proxy_service_factory.cc |
@@ -43,7 +43,7 @@ net::ProxyConfigService* ProxyServiceFactory::CreateProxyConfigService( |
PrefProxyConfigTracker* tracker) { |
// The linux gconf-based proxy settings getter relies on being initialized |
// from the UI thread. |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
scoped_ptr<net::ProxyConfigService> base_service; |
@@ -99,7 +99,7 @@ net::ProxyService* ProxyServiceFactory::CreateProxyService( |
net::ProxyConfigService* proxy_config_service, |
const base::CommandLine& command_line, |
bool quick_check_enabled) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
#if defined(OS_IOS) |
bool use_v8 = false; |
#else |