Index: ui/gl/gl_context_cgl.h |
diff --git a/ui/gl/gl_context_cgl.h b/ui/gl/gl_context_cgl.h |
index 88813b39cc197b298ec4a34889a5fb003067aa8b..2c019988a23ba04136c1c57bb9c93f2c67cea256 100644 |
--- a/ui/gl/gl_context_cgl.h |
+++ b/ui/gl/gl_context_cgl.h |
@@ -21,7 +21,6 @@ class GLContextCGL : 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; |
@@ -35,6 +34,7 @@ class GLContextCGL : public GLContextReal { |
~GLContextCGL() override; |
private: |
+ void Destroy(); |
GpuPreference GetGpuPreference(); |
void* context_; |