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

Unified Diff: ui/gl/gl_context_egl.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_egl.h
diff --git a/ui/gl/gl_context_egl.h b/ui/gl/gl_context_egl.h
index 4e98da8d42eec50a22ca9318d4ae317cd03f6946..33e8c94c21b7f0ce2f3bf52eca02fe5c69896f15 100644
--- a/ui/gl/gl_context_egl.h
+++ b/ui/gl/gl_context_egl.h
@@ -23,7 +23,6 @@ class GLSurface;
class GLContextEGL : public GLContext {
public:
explicit GLContextEGL(GLShareGroup* share_group);
- virtual ~GLContextEGL();
// Implement GLContext.
virtual bool Initialize(
@@ -36,6 +35,9 @@ class GLContextEGL : public GLContext {
virtual void SetSwapInterval(int interval) OVERRIDE;
virtual std::string GetExtensions() OVERRIDE;
+ protected:
+ virtual ~GLContextEGL();
+
private:
EGLContext context_;
EGLDisplay display_;

Powered by Google App Engine
This is Rietveld 408576698