| Index: mojo/public/cpp/bindings/associated_interface_ptr.h
|
| diff --git a/mojo/public/cpp/bindings/associated_interface_ptr.h b/mojo/public/cpp/bindings/associated_interface_ptr.h
|
| index 9122688a7cbe4a6e1f7cc29db078d2e40aebd628..19f7376f4188ff23b78366f82b8376f89c86c3a5 100644
|
| --- a/mojo/public/cpp/bindings/associated_interface_ptr.h
|
| +++ b/mojo/public/cpp/bindings/associated_interface_ptr.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_H_
|
| #define MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_H_
|
|
|
| +#include <utility>
|
| +
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "mojo/public/cpp/bindings/associated_group.h"
|
| @@ -64,7 +66,7 @@ class AssociatedInterfacePtr {
|
| "at the other side of the message pipe.";
|
|
|
| if (info.is_valid() && is_local)
|
| - internal_state_.Bind(info.Pass());
|
| + internal_state_.Bind(std::move(info));
|
| }
|
|
|
| bool is_bound() const { return internal_state_.is_bound(); }
|
| @@ -183,8 +185,8 @@ AssociatedInterfaceRequest<typename Interface::GenericInterface> GetProxy(
|
| group->CreateAssociatedInterface(AssociatedGroup::WILL_PASS_REQUEST,
|
| &ptr_info, &request);
|
|
|
| - ptr->Bind(ptr_info.Pass());
|
| - return request.Pass();
|
| + ptr->Bind(std::move(ptr_info));
|
| + return std::move(request);
|
| }
|
|
|
| } // namespace mojo
|
|
|