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

Unified Diff: third_party/mojo/src/mojo/public/cpp/application/connect.h

Issue 1127293003: Update mojo sdk to rev f84766d3b6420b7cf6a113d9d65d73cb5fe18d90 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatting 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: third_party/mojo/src/mojo/public/cpp/application/connect.h
diff --git a/third_party/mojo/src/mojo/public/cpp/application/connect.h b/third_party/mojo/src/mojo/public/cpp/application/connect.h
index 79762e29b87b1c2d150fa8f8a643ea93aa105f1d..e427ce6237ee54454fb7bcb37daf33491d3c2905 100644
--- a/third_party/mojo/src/mojo/public/cpp/application/connect.h
+++ b/third_party/mojo/src/mojo/public/cpp/application/connect.h
@@ -14,7 +14,7 @@ template <typename Interface>
inline void ConnectToService(ServiceProvider* service_provider,
InterfacePtr<Interface>* ptr) {
MessagePipe pipe;
- ptr->Bind(pipe.handle0.Pass());
+ ptr->Bind(InterfacePtrInfo<Interface>(pipe.handle0.Pass(), 0u));
service_provider->ConnectToService(Interface::Name_, pipe.handle1.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698