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

Unified Diff: mojo/runner/child_process_host.cc

Issue 1179733005: Update mojo sdk to rev bdbb0c7e396fc4044a8b194058d7a7e529715286 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update CommandBufferImpl (Binding::OnConnectionError is no more) 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') | third_party/mojo/mojo_edk_system_impl.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/child_process_host.cc
diff --git a/mojo/runner/child_process_host.cc b/mojo/runner/child_process_host.cc
index cd35da98851527486e31c52aaa41cd1e969f152a..c0fd2e3b24fd4d3391e22b8df33ae2d21edc26eb 100644
--- a/mojo/runner/child_process_host.cc
+++ b/mojo/runner/child_process_host.cc
@@ -15,6 +15,7 @@
#include "base/process/launch.h"
#include "base/task_runner.h"
#include "base/task_runner_util.h"
+#include "base/thread_task_runner_handle.h"
#include "mojo/edk/embedder/embedder.h"
#include "mojo/public/cpp/bindings/interface_ptr_info.h"
#include "mojo/public/cpp/system/core.h"
@@ -45,9 +46,9 @@ void ChildProcessHost::Start() {
DCHECK(platform_channel_.is_valid());
ScopedMessagePipeHandle handle(embedder::CreateChannel(
- platform_channel_.Pass(), context_->task_runners()->io_runner(),
+ platform_channel_.Pass(),
base::Bind(&ChildProcessHost::DidCreateChannel, base::Unretained(this)),
- base::MessageLoop::current()->message_loop_proxy()));
+ base::ThreadTaskRunnerHandle::Get()));
controller_.Bind(InterfacePtrInfo<ChildController>(handle.Pass(), 0u));
« no previous file with comments | « mojo/runner/child_process.cc ('k') | third_party/mojo/mojo_edk_system_impl.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698