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 |