Index: ui/gl/gl_context_egl.h |
diff --git a/ui/gl/gl_context_egl.h b/ui/gl/gl_context_egl.h |
index 39b26d0c319c26f4947ac5dd0e40d11e5b9ed56c..0d46723538e2291b1847a63d847cf495686ee014 100644 |
--- a/ui/gl/gl_context_egl.h |
+++ b/ui/gl/gl_context_egl.h |
@@ -26,7 +26,6 @@ class GLContextEGL : public GLContextReal { |
// Implement GLContext. |
bool Initialize(GLSurface* compatible_surface, |
GpuPreference gpu_preference) override; |
- void Destroy() override; |
bool MakeCurrent(GLSurface* surface) override; |
void ReleaseCurrent(GLSurface* surface) override; |
bool IsCurrent(GLSurface* surface) override; |
@@ -41,6 +40,8 @@ class GLContextEGL : public GLContextReal { |
~GLContextEGL() override; |
private: |
+ void Destroy(); |
+ |
EGLContext context_; |
EGLDisplay display_; |
EGLConfig config_; |