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

Unified Diff: shell/application_manager/application_manager.h

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
« no previous file with comments | « services/surfaces/display_impl.cc ('k') | shell/application_manager/application_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/application_manager/application_manager.h
diff --git a/shell/application_manager/application_manager.h b/shell/application_manager/application_manager.h
index 52b9050e9e9d7feebf5c03f3733b513cbd44e47a..ded733fdc742b699d20f7672a86b73cf14d389ef 100644
--- a/shell/application_manager/application_manager.h
+++ b/shell/application_manager/application_manager.h
@@ -80,7 +80,7 @@ class ApplicationManager {
mojo::InterfacePtr<Interface>* ptr) {
mojo::ScopedMessagePipeHandle service_handle =
ConnectToServiceByName(application_url, Interface::Name_);
- ptr->Bind(service_handle.Pass());
+ ptr->Bind(mojo::InterfacePtrInfo<Interface>(service_handle.Pass(), 0u));
}
mojo::ScopedMessagePipeHandle ConnectToServiceByName(
« no previous file with comments | « services/surfaces/display_impl.cc ('k') | shell/application_manager/application_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698