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

Unified Diff: mojo/runner/context.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 | « mojo/runner/child_process.cc ('k') | mojo/runner/task_runners.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/context.cc
diff --git a/mojo/runner/context.cc b/mojo/runner/context.cc
index 47a9561be1f804ca3db8c704175be1e8c622563a..6eed031ad252c30c266f7474c21dec90add43bc7 100644
--- a/mojo/runner/context.cc
+++ b/mojo/runner/context.cc
@@ -276,7 +276,7 @@ bool Context::Init() {
EnsureEmbedderIsInitialized();
task_runners_.reset(
- new TaskRunners(base::MessageLoop::current()->message_loop_proxy()));
+ new TaskRunners(base::MessageLoop::current()->task_runner()));
// TODO(vtl): Probably these failures should be checked before |Init()|, and
// this function simply shouldn't fail.
« no previous file with comments | « mojo/runner/child_process.cc ('k') | mojo/runner/task_runners.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698