Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: ui/gl/gl_context_glx.h

Issue 10392152: RefCounted types should not have public destructors, Linux fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gl/gl_context_glx.h
diff --git a/ui/gl/gl_context_glx.h b/ui/gl/gl_context_glx.h
index 60155dfae1678995d5853feb245ddee72f215399..8ddcae76e8222f5e235c5906041f7ddc918e9f47 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_;

Powered by Google App Engine
This is Rietveld 408576698