Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Unified Diff: mojo/runner/child_process.cc

Issue 1179163002: Migrate callers of message_loop_proxy() to task_runner() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « jingle/notifier/listener/xmpp_push_client_unittest.cc ('k') | mojo/runner/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « jingle/notifier/listener/xmpp_push_client_unittest.cc ('k') | mojo/runner/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698