| Index: ui/gfx/gl/gl_surface_cgl.h
|
| diff --git a/ui/gfx/gl/gl_surface_cgl.h b/ui/gfx/gl/gl_surface_cgl.h
|
| index 036502edc58fa195f3eb1ed847d4c4705925971e..951c26663a16fd3b075dd3af636bf89143b0ac10 100644
|
| --- a/ui/gfx/gl/gl_surface_cgl.h
|
| +++ b/ui/gfx/gl/gl_surface_cgl.h
|
| @@ -14,11 +14,13 @@ namespace gfx {
|
| class GLSurfaceCGL : public GLSurface {
|
| public:
|
| GLSurfaceCGL();
|
| - virtual ~GLSurfaceCGL();
|
|
|
| static bool InitializeOneOff();
|
| static void* GetPixelFormat();
|
|
|
| + protected:
|
| + virtual ~GLSurfaceCGL();
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(GLSurfaceCGL);
|
| };
|
| @@ -30,7 +32,6 @@ class GLSurfaceCGL : public GLSurface {
|
| class UI_EXPORT NoOpGLSurfaceCGL : public GLSurfaceCGL {
|
| public:
|
| explicit NoOpGLSurfaceCGL(const gfx::Size& size);
|
| - virtual ~NoOpGLSurfaceCGL();
|
|
|
| // Implement GLSurface.
|
| virtual bool Initialize() OVERRIDE;
|
| @@ -40,6 +41,9 @@ class UI_EXPORT NoOpGLSurfaceCGL : public GLSurfaceCGL {
|
| virtual gfx::Size GetSize() OVERRIDE;
|
| virtual void* GetHandle() OVERRIDE;
|
|
|
| + protected:
|
| + virtual ~NoOpGLSurfaceCGL();
|
| +
|
| private:
|
| gfx::Size size_;
|
|
|
|
|