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

Unified Diff: ui/gl/android/scoped_java_surface.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 | « styleguide/c++/c++11.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 857ff5b1de905420cf6403a89ab3204f5461fe6d..5bf71d0c6f22d43deb3913d28af7daf2742e86f8 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/move.h"
+#include "base/macros.h"
#include "ui/gl/gl_export.h"
namespace gl {
@@ -19,8 +19,6 @@ class SurfaceTexture;
// 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();
@@ -61,6 +59,8 @@ class GL_EXPORT ScopedJavaSurface {
bool is_protected_;
base::android::ScopedJavaGlobalRef<jobject> j_surface_;
+
+ DISALLOW_COPY_AND_ASSIGN(ScopedJavaSurface);
};
} // namespace gl
« no previous file with comments | « styleguide/c++/c++11.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698