Index: mojo/public/cpp/system/handle.h |
diff --git a/mojo/public/cpp/system/handle.h b/mojo/public/cpp/system/handle.h |
index f142e8bf02c845da0c401c72a7ff9c980dc86b07..5b2eb7bb1d8b61a34a651ba7a8521e620bd08762 100644 |
--- a/mojo/public/cpp/system/handle.h |
+++ b/mojo/public/cpp/system/handle.h |
@@ -11,7 +11,6 @@ |
#include "base/compiler_specific.h" |
#include "base/logging.h" |
#include "base/macros.h" |
-#include "base/move.h" |
#include "mojo/public/c/system/functions.h" |
#include "mojo/public/c/system/types.h" |
@@ -72,8 +71,6 @@ namespace mojo { |
// like the C++11 |unique_ptr|. |
template <class HandleType> |
class ScopedHandleBase { |
- MOVE_ONLY_TYPE_FOR_CPP_03(ScopedHandleBase); |
- |
public: |
using RawHandleType = HandleType; |
@@ -134,6 +131,8 @@ class ScopedHandleBase { |
} |
HandleType handle_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ScopedHandleBase); |
}; |
template <typename HandleType> |