Chromium Code Reviews| 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..db5e96d911336308ea05676cae5a93dec6da8f4e 100644 |
| --- a/mojo/public/cpp/bindings/binding.h |
| +++ b/mojo/public/cpp/bindings/binding.h |
| @@ -169,7 +169,7 @@ class Binding : public ErrorHandler { |
| InterfaceRequest<Interface> request = |
| MakeRequest<Interface>(internal_router_->PassMessagePipe()); |
| DestroyRouter(); |
| - return request; |
| + return request.Pass(); |
|
viettrungluu
2015/03/04 02:17:57
Could you please add a TODO with something like "T
Ken Rockot(use gerrit already)
2015/03/04 03:02:13
Done.
|
| } |
| // Sets an error handler that will be called if a connection error occurs on |