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

Unified Diff: mojo/runner/child_process_host.cc

Issue 1127293003: Update mojo sdk to rev f84766d3b6420b7cf6a113d9d65d73cb5fe18d90 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge IPC fixes Created 5 years, 7 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
Index: mojo/runner/child_process_host.cc
diff --git a/mojo/runner/child_process_host.cc b/mojo/runner/child_process_host.cc
index 0a06992cf9004378dec6ca355a8076c0eb5c0bef..79a8069e6e0f2774f7038b1f9f3dc4b0f6f66506 100644
--- a/mojo/runner/child_process_host.cc
+++ b/mojo/runner/child_process_host.cc
@@ -18,6 +18,7 @@
#include "base/task_runner.h"
#include "base/task_runner_util.h"
#include "mojo/edk/embedder/embedder.h"
+#include "mojo/public/cpp/bindings/interface_ptr_info.h"
#include "mojo/public/cpp/system/core.h"
#include "mojo/runner/context.h"
#include "mojo/runner/switches.h"
@@ -50,7 +51,7 @@ void ChildProcessHost::Start() {
base::Bind(&ChildProcessHost::DidCreateChannel, base::Unretained(this)),
base::MessageLoop::current()->message_loop_proxy()));
- controller_.Bind(handle.Pass());
+ controller_.Bind(InterfacePtrInfo<ChildController>(handle.Pass(), 0u));
CHECK(base::PostTaskAndReplyWithResult(
context_->task_runners()->blocking_pool(), FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698