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

Unified Diff: ui/gl/gl_surface_cgl.h

Issue 337303003: CARemoteLayer alive-ish (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « content/content_common.gypi ('k') | ui/gl/gl_surface_cgl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_cgl.h
diff --git a/ui/gl/gl_surface_cgl.h b/ui/gl/gl_surface_cgl.h
index 4786acdb4a06323d8cdee8a3a8867e4a05f81649..3ad4cccac828502971faf414521dc9332b54843a 100644
--- a/ui/gl/gl_surface_cgl.h
+++ b/ui/gl/gl_surface_cgl.h
@@ -11,17 +11,13 @@
namespace gfx {
// Base class for CGL surfaces.
-class GLSurfaceCGL : public GLSurface {
+class GLSurfaceCGL {
public:
- GLSurfaceCGL();
-
static bool InitializeOneOff();
static void* GetPixelFormat();
- protected:
- virtual ~GLSurfaceCGL();
-
private:
+ GLSurfaceCGL() {}
DISALLOW_COPY_AND_ASSIGN(GLSurfaceCGL);
};
@@ -29,7 +25,7 @@ class GLSurfaceCGL : public GLSurface {
// associated drawable (pbuffer or fullscreen context) in order to be
// made current. Everywhere this surface type is used, we allocate an
// FBO at the user level as the drawable of the associated context.
-class GL_EXPORT NoOpGLSurfaceCGL : public GLSurfaceCGL {
+class GL_EXPORT NoOpGLSurfaceCGL : public GLSurface {
public:
explicit NoOpGLSurfaceCGL(const gfx::Size& size);
« no previous file with comments | « content/content_common.gypi ('k') | ui/gl/gl_surface_cgl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698