Index: ui/gl/gl_context_glx.h |
diff --git a/ui/gl/gl_context_glx.h b/ui/gl/gl_context_glx.h |
index 6973542c0aa25b9824331e8bf5a9035bd4514b20..ac93a5d64b431f884b26312f400763a774dd2b38 100644 |
--- a/ui/gl/gl_context_glx.h |
+++ b/ui/gl/gl_context_glx.h |
@@ -26,7 +26,6 @@ class GL_EXPORT GLContextGLX : 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; |
@@ -40,6 +39,8 @@ class GL_EXPORT GLContextGLX : public GLContextReal { |
~GLContextGLX() override; |
private: |
+ void Destroy(); |
+ |
void* context_; |
XDisplay* display_; |