Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Unified Diff: mojo/public/cpp/system/handle.h

Issue 2038273002: Remove base/move.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/cpp/system/handle.h
diff --git a/mojo/public/cpp/system/handle.h b/mojo/public/cpp/system/handle.h
index d0466b0ddead9ae80b1b8e95964df058fda19b37..59fc03ce1b546bd093073e4a11eba52eb95d4623 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;
@@ -133,6 +130,8 @@ class ScopedHandleBase {
}
HandleType handle_;
+
+ DISALLOW_COPY_AND_ASSIGN(ScopedHandleBase);
};
template <typename HandleType>

Powered by Google App Engine
This is Rietveld 408576698