Index: mojo/edk/embedder/scoped_platform_handle.h |
diff --git a/mojo/edk/embedder/scoped_platform_handle.h b/mojo/edk/embedder/scoped_platform_handle.h |
index 15b80ea4b288c014373a7dc8d66566e8b4c837c7..59ceeab369e7a4140f201b2a721b25db783d7c75 100644 |
--- a/mojo/edk/embedder/scoped_platform_handle.h |
+++ b/mojo/edk/embedder/scoped_platform_handle.h |
@@ -5,8 +5,8 @@ |
#ifndef MOJO_EDK_EMBEDDER_SCOPED_PLATFORM_HANDLE_H_ |
#define MOJO_EDK_EMBEDDER_SCOPED_PLATFORM_HANDLE_H_ |
-#include "base/compiler_specific.h" |
#include "base/macros.h" |
+#include "base/move.h" |
#include "mojo/edk/embedder/platform_handle.h" |
#include "mojo/edk/system/system_impl_export.h" |
#include "mojo/public/c/system/macros.h" |
@@ -15,6 +15,8 @@ |
namespace edk { |
class MOJO_SYSTEM_IMPL_EXPORT ScopedPlatformHandle { |
+ DISALLOW_COPY_AND_ASSIGN_WITH_MOVE_FOR_BIND(ScopedPlatformHandle) |
+ |
public: |
ScopedPlatformHandle() {} |
explicit ScopedPlatformHandle(PlatformHandle handle) : handle_(handle) {} |
@@ -53,8 +55,6 @@ |
private: |
PlatformHandle handle_; |
- |
- DISALLOW_COPY_AND_ASSIGN(ScopedPlatformHandle); |
}; |
} // namespace edk |