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

Unified Diff: ui/gl/gl_image_surface_texture.h

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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 | « ui/gl/gl_image_ozone_native_pixmap_unittest.cc ('k') | ui/gl/gl_image_surface_texture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image_surface_texture.h
diff --git a/ui/gl/gl_image_surface_texture.h b/ui/gl/gl_image_surface_texture.h
index 52f575ae62e934216ba9ed2c2400131da30d0a11..878a6ae560773cca00f535a72c411f0c00e48a0d 100644
--- a/ui/gl/gl_image_surface_texture.h
+++ b/ui/gl/gl_image_surface_texture.h
@@ -14,17 +14,15 @@
#include "ui/gl/gl_export.h"
#include "ui/gl/gl_image.h"
-namespace gfx {
-class SurfaceTexture;
-}
-
namespace gl {
+class SurfaceTexture;
+
class GL_EXPORT GLImageSurfaceTexture : public GLImage {
public:
explicit GLImageSurfaceTexture(const gfx::Size& size);
- bool Initialize(gfx::SurfaceTexture* surface_texture);
+ bool Initialize(gl::SurfaceTexture* surface_texture);
// Overridden from GLImage:
void Destroy(bool have_context) override;
@@ -49,7 +47,7 @@ class GL_EXPORT GLImageSurfaceTexture : public GLImage {
~GLImageSurfaceTexture() override;
private:
- scoped_refptr<gfx::SurfaceTexture> surface_texture_;
+ scoped_refptr<gl::SurfaceTexture> surface_texture_;
const gfx::Size size_;
GLint texture_id_;
base::ThreadChecker thread_checker_;
« no previous file with comments | « ui/gl/gl_image_ozone_native_pixmap_unittest.cc ('k') | ui/gl/gl_image_surface_texture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698