Index: mojo/public/cpp/bindings/interface_request.h |
diff --git a/mojo/public/cpp/bindings/interface_request.h b/mojo/public/cpp/bindings/interface_request.h |
index 005f9b676c93d7a66ab92d8cce78d69329ada98d..b9e90a7aef8b6f57765185c62efdf5868542f660 100644 |
--- a/mojo/public/cpp/bindings/interface_request.h |
+++ b/mojo/public/cpp/bindings/interface_request.h |
@@ -67,7 +67,7 @@ template <typename Interface> |
InterfaceRequest<Interface> MakeRequest(ScopedMessagePipeHandle handle) { |
InterfaceRequest<Interface> request; |
request.Bind(handle.Pass()); |
- return request.Pass(); |
+ return request; |
} |
// Creates a new message pipe over which Interface is to be served. Binds the |