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()); |
} |