Index: chrome/browser/net/utility_process_mojo_proxy_resolver_factory.cc |
diff --git a/chrome/browser/net/utility_process_mojo_proxy_resolver_factory.cc b/chrome/browser/net/utility_process_mojo_proxy_resolver_factory.cc |
index bf9f7f7c6f5130bddd1d85dab40d50d55b1e730b..d7a3ee71a5759a24a233f03fd7dd6e9d98d91628 100644 |
--- a/chrome/browser/net/utility_process_mojo_proxy_resolver_factory.cc |
+++ b/chrome/browser/net/utility_process_mojo_proxy_resolver_factory.cc |
@@ -6,6 +6,8 @@ |
#include "base/logging.h" |
#include "base/memory/singleton.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/grit/generated_resources.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/utility_process_host.h" |
@@ -37,7 +39,7 @@ void UtilityProcessMojoProxyResolverFactory::CreateProcessAndConnect() { |
content::UtilityProcessHost* utility_process_host = |
content::UtilityProcessHost::Create( |
scoped_refptr<content::UtilityProcessHostClient>(), |
- base::MessageLoopProxy::current().get()); |
+ base::ThreadTaskRunnerHandle::Get()); |
utility_process_host->SetName(l10n_util::GetStringUTF16( |
IDS_UTILITY_PROCESS_PROXY_RESOLVER_NAME)); |
bool process_started = utility_process_host->StartMojoMode(); |