summaryrefslogtreecommitdiffstats
path: root/ui/gl/gl_context_egl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gl/gl_context_egl.h')
-rw-r--r--ui/gl/gl_context_egl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/gl/gl_context_egl.h b/ui/gl/gl_context_egl.h
index 4e98da8..33e8c94 100644
--- a/ui/gl/gl_context_egl.h
+++ b/ui/gl/gl_context_egl.h
@@ -23,7 +23,6 @@ class GLSurface;
class GLContextEGL : public GLContext {
public:
explicit GLContextEGL(GLShareGroup* share_group);
- virtual ~GLContextEGL();
// Implement GLContext.
virtual bool Initialize(
@@ -36,6 +35,9 @@ class GLContextEGL : public GLContext {
virtual void SetSwapInterval(int interval) OVERRIDE;
virtual std::string GetExtensions() OVERRIDE;
+ protected:
+ virtual ~GLContextEGL();
+
private:
EGLContext context_;
EGLDisplay display_;