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

Unified Diff: ui/gfx/gl/gl_surface_osmesa.h

Issue 10067034: RefCounted types should not have public destructors, printing/ and ui/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Created 8 years, 8 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
« no previous file with comments | « ui/gfx/gl/gl_surface_cgl.cc ('k') | ui/gfx/gl/gl_surface_osmesa.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_surface_osmesa.h
diff --git a/ui/gfx/gl/gl_surface_osmesa.h b/ui/gfx/gl/gl_surface_osmesa.h
index 94040507f598423b5489308c99a422a8267a7407..8d8c2247256c87fc8966202bd28f85e3ef37d1f4 100644
--- a/ui/gfx/gl/gl_surface_osmesa.h
+++ b/ui/gfx/gl/gl_surface_osmesa.h
@@ -18,7 +18,6 @@ namespace gfx {
class GL_EXPORT GLSurfaceOSMesa : public GLSurface {
public:
GLSurfaceOSMesa(unsigned format, const gfx::Size& size);
- virtual ~GLSurfaceOSMesa();
// Implement GLSurface.
virtual bool Initialize() OVERRIDE;
@@ -30,6 +29,9 @@ class GL_EXPORT GLSurfaceOSMesa : public GLSurface {
virtual void* GetHandle() OVERRIDE;
virtual unsigned GetFormat() OVERRIDE;
+ protected:
+ virtual ~GLSurfaceOSMesa();
+
private:
unsigned format_;
gfx::Size size_;
« no previous file with comments | « ui/gfx/gl/gl_surface_cgl.cc ('k') | ui/gfx/gl/gl_surface_osmesa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698