Index: mojo/runner/child_process.cc |
diff --git a/mojo/runner/child_process.cc b/mojo/runner/child_process.cc |
index 74539a28aeb79e080398c81465f83bcaead9c4df..1214c7e540e095f409a8df9776a2cc10fad96e82 100644 |
--- a/mojo/runner/child_process.cc |
+++ b/mojo/runner/child_process.cc |
@@ -19,6 +19,7 @@ |
#include "base/synchronization/waitable_event.h" |
#include "base/threading/thread.h" |
#include "base/threading/thread_checker.h" |
+#include "base/thread_task_runner_handle.h" |
#include "mojo/common/message_pump_mojo.h" |
#include "mojo/edk/embedder/embedder.h" |
#include "mojo/edk/embedder/platform_channel_pair.h" |
@@ -191,10 +192,10 @@ class ChildControllerImpl : public ChildController, public ErrorHandler { |
new ChildControllerImpl(app_context, unblocker)); |
ScopedMessagePipeHandle host_message_pipe(embedder::CreateChannel( |
- platform_channel.Pass(), app_context->io_runner(), |
+ platform_channel.Pass(), |
base::Bind(&ChildControllerImpl::DidCreateChannel, |
base::Unretained(impl.get())), |
- base::MessageLoopProxy::current())); |
+ base::ThreadTaskRunnerHandle::Get())); |
impl->Bind(host_message_pipe.Pass()); |