Index: ui/gl/android/scoped_java_surface.h |
diff --git a/ui/gl/android/scoped_java_surface.h b/ui/gl/android/scoped_java_surface.h |
index 5bf71d0c6f22d43deb3913d28af7daf2742e86f8..857ff5b1de905420cf6403a89ab3204f5461fe6d 100644 |
--- a/ui/gl/android/scoped_java_surface.h |
+++ b/ui/gl/android/scoped_java_surface.h |
@@ -8,7 +8,7 @@ |
#include <jni.h> |
#include "base/android/scoped_java_ref.h" |
-#include "base/macros.h" |
+#include "base/move.h" |
#include "ui/gl/gl_export.h" |
namespace gl { |
@@ -19,6 +19,8 @@ |
// When going out of scope, Surface.release() is called on the Java object to |
// make sure server-side references (esp. wrt graphics memory) are released. |
class GL_EXPORT ScopedJavaSurface { |
+ MOVE_ONLY_TYPE_FOR_CPP_03(ScopedJavaSurface); |
+ |
public: |
ScopedJavaSurface(); |
@@ -59,8 +61,6 @@ |
bool is_protected_; |
base::android::ScopedJavaGlobalRef<jobject> j_surface_; |
- |
- DISALLOW_COPY_AND_ASSIGN(ScopedJavaSurface); |
}; |
} // namespace gl |