Index: mojo/public/cpp/bindings/binding.h |
diff --git a/mojo/public/cpp/bindings/binding.h b/mojo/public/cpp/bindings/binding.h |
index 188ac6e82ce4659360bb5bb838deafbcf779ac13..f178431c3f9d5731d669c390c468946cb2bf71a6 100644 |
--- a/mojo/public/cpp/bindings/binding.h |
+++ b/mojo/public/cpp/bindings/binding.h |
@@ -169,7 +169,9 @@ class Binding : public ErrorHandler { |
InterfaceRequest<Interface> request = |
MakeRequest<Interface>(internal_router_->PassMessagePipe()); |
DestroyRouter(); |
- return request; |
+ // TODO(vtl): The |.Pass()| below is only needed due to an MSVS bug; remove |
+ // it once that's fixed. |
+ return request.Pass(); |
} |
// Sets an error handler that will be called if a connection error occurs on |