summaryrefslogtreecommitdiffstats
path: root/ui/gl/gl_context_glx.h
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-18 18:00:22 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-18 18:00:22 +0000
commit4e0f45f5cc4911b529040c82058b255049426e93 (patch)
tree6535c84613ab4f672f08b27d2b2d36cffa4bce92 /ui/gl/gl_context_glx.h
parentf7d2580cf40718cb427f8587e9f1f6f6f837ba39 (diff)
downloadchromium_src-4e0f45f5cc4911b529040c82058b255049426e93.zip
chromium_src-4e0f45f5cc4911b529040c82058b255049426e93.tar.gz
chromium_src-4e0f45f5cc4911b529040c82058b255049426e93.tar.bz2
RefCounted types should not have public destructors, Linux fixes
BUG=123295 TEST=none Review URL: https://chromiumcodereview.appspot.com/10392152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl/gl_context_glx.h')
-rw-r--r--ui/gl/gl_context_glx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/gl/gl_context_glx.h b/ui/gl/gl_context_glx.h
index 60155df..8ddcae7 100644
--- a/ui/gl/gl_context_glx.h
+++ b/ui/gl/gl_context_glx.h
@@ -20,7 +20,6 @@ class GLSurface;
class GLContextGLX : public GLContext {
public:
explicit GLContextGLX(GLShareGroup* share_group);
- virtual ~GLContextGLX();
Display* display();
@@ -36,6 +35,9 @@ class GLContextGLX : public GLContext {
virtual std::string GetExtensions() OVERRIDE;
virtual bool WasAllocatedUsingARBRobustness() OVERRIDE;
+ protected:
+ virtual ~GLContextGLX();
+
private:
void* context_;
Display* display_;