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

Unified Diff: shell/child_main.cc

Issue 1174063002: Remove use of MessageLoopProxy (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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/edk/system/channel_manager_unittest.cc ('k') | shell/in_process_native_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/child_main.cc
diff --git a/shell/child_main.cc b/shell/child_main.cc
index b6057d6b659a4238c63dd85f29f2267a41dfb533..9a387bde7ad340d5c1e06820fea48ad9e99ead1a 100644
--- a/shell/child_main.cc
+++ b/shell/child_main.cc
@@ -17,6 +17,7 @@
#include "base/message_loop/message_loop.h"
#include "base/single_thread_task_runner.h"
#include "base/synchronization/waitable_event.h"
+#include "base/thread_task_runner_handle.h"
#include "base/threading/thread.h"
#include "base/threading/thread_checker.h"
#include "mojo/common/message_pump_mojo.h"
@@ -200,7 +201,7 @@ class ChildControllerImpl : public ChildController, public mojo::ErrorHandler {
platform_channel.Pass(),
base::Bind(&ChildControllerImpl::DidCreateChannel,
base::Unretained(impl.get())),
- base::MessageLoopProxy::current()));
+ base::ThreadTaskRunnerHandle::Get()));
impl->Bind(host_message_pipe.Pass());
« no previous file with comments | « mojo/edk/system/channel_manager_unittest.cc ('k') | shell/in_process_native_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698