Index: chrome/browser/local_discovery/service_discovery_host_client.cc |
diff --git a/chrome/browser/local_discovery/service_discovery_host_client.cc b/chrome/browser/local_discovery/service_discovery_host_client.cc |
index dc69d97a2727e6f09fdceb15ae96cc14b09343cd..9acbb9c3b74b90a538751fc0361169fc060ff711 100644 |
--- a/chrome/browser/local_discovery/service_discovery_host_client.cc |
+++ b/chrome/browser/local_discovery/service_discovery_host_client.cc |
@@ -4,6 +4,8 @@ |
#include "chrome/browser/local_discovery/service_discovery_host_client.h" |
+#include "base/location.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/thread_task_runner_handle.h" |
#include "chrome/common/local_discovery/local_discovery_messages.h" |
#include "chrome/grit/generated_resources.h" |
@@ -174,7 +176,7 @@ class ServiceDiscoveryHostClient::LocalDomainResolverProxy |
}; |
ServiceDiscoveryHostClient::ServiceDiscoveryHostClient() : current_id_(0) { |
- callback_runner_ = base::MessageLoop::current()->message_loop_proxy(); |
+ callback_runner_ = base::MessageLoop::current()->task_runner(); |
io_runner_ = BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO); |
} |