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

Unified Diff: mojo/public/cpp/bindings/wtf_array.h

Issue 2038273002: Remove base/move.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: is_constructible 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
« no previous file with comments | « mojo/public/cpp/bindings/tests/container_test_util.h ('k') | mojo/public/cpp/system/handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/wtf_array.h
diff --git a/mojo/public/cpp/bindings/wtf_array.h b/mojo/public/cpp/bindings/wtf_array.h
index 0e157f2ceea1788bcb1e846dcf99b39ee0f8646b..e45d5b012afe36f56373d0b7bc317aa920e60d97 100644
--- a/mojo/public/cpp/bindings/wtf_array.h
+++ b/mojo/public/cpp/bindings/wtf_array.h
@@ -8,7 +8,7 @@
#include <stddef.h>
#include <utility>
-#include "base/move.h"
+#include "base/macros.h"
#include "mojo/public/cpp/bindings/lib/array_internal.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/template_util.h"
@@ -25,8 +25,6 @@ namespace mojo {
// - method PassStorage() passes the underlying WTF::Vector.
template <typename T>
class WTFArray {
- MOVE_ONLY_TYPE_FOR_CPP_03(WTFArray);
-
public:
using Data_ = internal::Array_Data<
typename internal::GetDataTypeAsArrayElement<T>::Data>;
@@ -175,6 +173,7 @@ class WTFArray {
}
private:
+ // TODO(dcheng): Use an explicit conversion operator.
typedef WTF::Vector<T> WTFArray::*Testable;
public:
@@ -200,6 +199,8 @@ class WTFArray {
WTF::Vector<T> vec_;
bool is_null_;
+
+ DISALLOW_COPY_AND_ASSIGN(WTFArray);
};
} // namespace mojo
« no previous file with comments | « mojo/public/cpp/bindings/tests/container_test_util.h ('k') | mojo/public/cpp/system/handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698