Index: mojo/public/cpp/bindings/interface_ptr_info.h |
diff --git a/mojo/public/cpp/bindings/interface_ptr_info.h b/mojo/public/cpp/bindings/interface_ptr_info.h |
index 0b2d8089c4327f7bf608c152980d882dc0626a6b..014410df1339605bcd4e15cd25e2847ade54e8ff 100644 |
--- a/mojo/public/cpp/bindings/interface_ptr_info.h |
+++ b/mojo/public/cpp/bindings/interface_ptr_info.h |
@@ -8,7 +8,7 @@ |
#include <stdint.h> |
#include <utility> |
-#include "base/macros.h" |
+#include "base/move.h" |
#include "mojo/public/cpp/system/message_pipe.h" |
namespace mojo { |
@@ -17,6 +17,8 @@ |
// interface implementation, which could be used to construct an InterfacePtr. |
template <typename Interface> |
class InterfacePtrInfo { |
+ MOVE_ONLY_TYPE_FOR_CPP_03(InterfacePtrInfo); |
+ |
public: |
InterfacePtrInfo() : version_(0u) {} |
@@ -54,8 +56,6 @@ |
private: |
ScopedMessagePipeHandle handle_; |
uint32_t version_; |
- |
- DISALLOW_COPY_AND_ASSIGN(InterfacePtrInfo); |
}; |
} // namespace mojo |