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

Unified Diff: shell/child_process_host.cc

Issue 1118843003: Remove some InterfacePtr<> methods which directly deal with message pipe handles. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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: shell/child_process_host.cc
diff --git a/shell/child_process_host.cc b/shell/child_process_host.cc
index f5d0a42ea38d43b59b582b8d259748401db767ab..d0ab5dde3ce5f98d8a015453449d2d52cee0e0f3 100644
--- a/shell/child_process_host.cc
+++ b/shell/child_process_host.cc
@@ -41,7 +41,7 @@ void ChildProcessHost::Start() {
base::Bind(&ChildProcessHost::DidCreateChannel, base::Unretained(this)),
base::MessageLoop::current()->message_loop_proxy()));
- controller_.Bind(handle.Pass());
+ controller_.Bind(mojo::InterfacePtrInfo<ChildController>(handle.Pass(), 0u));
controller_.set_error_handler(this);
CHECK(base::PostTaskAndReplyWithResult(

Powered by Google App Engine
This is Rietveld 408576698