Index: mojo/runner/child_process.cc |
diff --git a/mojo/runner/child_process.cc b/mojo/runner/child_process.cc |
index 4fcd16f2676ae6102277e1e354b9b1fe3dc3e752..8c2f2605cf7345191d5989a97d62ee6bc2a40147 100644 |
--- a/mojo/runner/child_process.cc |
+++ b/mojo/runner/child_process.cc |
@@ -99,7 +99,7 @@ class AppContext : public embedder::ProcessDelegate { |
// Create and start our I/O thread. |
base::Thread::Options io_thread_options(base::MessageLoop::TYPE_IO, 0); |
CHECK(io_thread_.StartWithOptions(io_thread_options)); |
- io_runner_ = io_thread_.message_loop_proxy().get(); |
+ io_runner_ = io_thread_.task_runner().get(); |
CHECK(io_runner_.get()); |
// Create and start our controller thread. |
@@ -109,7 +109,7 @@ class AppContext : public embedder::ProcessDelegate { |
controller_thread_options.message_pump_factory = |
base::Bind(&common::MessagePumpMojo::Create); |
CHECK(controller_thread_.StartWithOptions(controller_thread_options)); |
- controller_runner_ = controller_thread_.message_loop_proxy().get(); |
+ controller_runner_ = controller_thread_.task_runner().get(); |
CHECK(controller_runner_.get()); |
// TODO(vtl): This should be SLAVE, not NONE. |