diff options
Diffstat (limited to 'ui/gl/gl_context_glx.cc')
-rw-r--r-- | ui/gl/gl_context_glx.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/gl/gl_context_glx.cc b/ui/gl/gl_context_glx.cc index af94040..b8d13892 100644 --- a/ui/gl/gl_context_glx.cc +++ b/ui/gl/gl_context_glx.cc @@ -38,10 +38,6 @@ GLContextGLX::GLContextGLX(GLShareGroup* share_group) display_(NULL) { } -GLContextGLX::~GLContextGLX() { - Destroy(); -} - Display* GLContextGLX::display() { return display_; } @@ -250,4 +246,8 @@ bool GLContextGLX::WasAllocatedUsingARBRobustness() { return GLSurfaceGLX::IsCreateContextRobustnessSupported(); } +GLContextGLX::~GLContextGLX() { + Destroy(); +} + } // namespace gfx |