Index: chrome/browser/local_discovery/service_discovery_shared_client.cc |
diff --git a/chrome/browser/local_discovery/service_discovery_shared_client.cc b/chrome/browser/local_discovery/service_discovery_shared_client.cc |
index 3d6e89a8b0c668e6c7e08a6e2da0ac62dab5acf6..121de207b5af4c2fd3854fa4680585191d4a5a19 100644 |
--- a/chrome/browser/local_discovery/service_discovery_shared_client.cc |
+++ b/chrome/browser/local_discovery/service_discovery_shared_client.cc |
@@ -75,7 +75,7 @@ ServiceDiscoverySharedClient::~ServiceDiscoverySharedClient() { |
scoped_refptr<ServiceDiscoverySharedClient> |
ServiceDiscoverySharedClient::GetInstance() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
if (g_service_discovery_client) |
return g_service_discovery_client; |
@@ -104,7 +104,7 @@ void ServiceDiscoverySharedClient::GetInstanceWithoutAlert( |
return callback.Run(result); |
#else // OS_WIN |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
// TODO(vitalybuka): Switch to |ServiceDiscoveryClientMdns| after we find what |
// to do with firewall for user-level installs. crbug.com/366408 |
scoped_refptr<ServiceDiscoverySharedClient> result = |
@@ -132,7 +132,7 @@ void ServiceDiscoverySharedClient::GetInstanceWithoutAlert( |
scoped_refptr<ServiceDiscoverySharedClient> |
ServiceDiscoverySharedClient::GetInstance() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
NOTIMPLEMENTED(); |
return NULL; |
} |