Index: ui/gl/gl_context_glx.h |
diff --git a/ui/gl/gl_context_glx.h b/ui/gl/gl_context_glx.h |
index 60155dfae1678995d5853feb245ddee72f215399..8ddcae76e8222f5e235c5906041f7ddc918e9f47 100644 |
--- a/ui/gl/gl_context_glx.h |
+++ b/ui/gl/gl_context_glx.h |
@@ -20,7 +20,6 @@ class GLSurface; |
class GLContextGLX : public GLContext { |
public: |
explicit GLContextGLX(GLShareGroup* share_group); |
- virtual ~GLContextGLX(); |
Display* display(); |
@@ -36,6 +35,9 @@ class GLContextGLX : public GLContext { |
virtual std::string GetExtensions() OVERRIDE; |
virtual bool WasAllocatedUsingARBRobustness() OVERRIDE; |
+ protected: |
+ virtual ~GLContextGLX(); |
+ |
private: |
void* context_; |
Display* display_; |