Index: third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h |
diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h b/third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h |
index 488b679d817db1ff3d9d1ae06daa5a82f708a32d..c139306e2c8d671871c039d3960e5178bc7e546d 100644 |
--- a/third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h |
+++ b/third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h |
@@ -109,7 +109,7 @@ InterfaceRequest<Interface> MakeRequest(ScopedMessagePipeHandle handle) { |
template <typename Interface> |
InterfaceRequest<Interface> GetProxy(InterfacePtr<Interface>* ptr) { |
MessagePipe pipe; |
- ptr->Bind(pipe.handle0.Pass()); |
+ ptr->Bind(InterfacePtrInfo<Interface>(pipe.handle0.Pass(), 0u)); |
return MakeRequest<Interface>(pipe.handle1.Pass()); |
} |