Index: ui/gfx/gl/gl_surface_osmesa.h |
diff --git a/ui/gfx/gl/gl_surface_osmesa.h b/ui/gfx/gl/gl_surface_osmesa.h |
index 94040507f598423b5489308c99a422a8267a7407..8d8c2247256c87fc8966202bd28f85e3ef37d1f4 100644 |
--- a/ui/gfx/gl/gl_surface_osmesa.h |
+++ b/ui/gfx/gl/gl_surface_osmesa.h |
@@ -18,7 +18,6 @@ namespace gfx { |
class GL_EXPORT GLSurfaceOSMesa : public GLSurface { |
public: |
GLSurfaceOSMesa(unsigned format, const gfx::Size& size); |
- virtual ~GLSurfaceOSMesa(); |
// Implement GLSurface. |
virtual bool Initialize() OVERRIDE; |
@@ -30,6 +29,9 @@ class GL_EXPORT GLSurfaceOSMesa : public GLSurface { |
virtual void* GetHandle() OVERRIDE; |
virtual unsigned GetFormat() OVERRIDE; |
+ protected: |
+ virtual ~GLSurfaceOSMesa(); |
+ |
private: |
unsigned format_; |
gfx::Size size_; |