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

Unified Diff: ui/gfx/gl/gl_surface_stub.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_osmesa.cc ('k') | ui/gfx/gl/gl_surface_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_surface_stub.h
diff --git a/ui/gfx/gl/gl_surface_stub.h b/ui/gfx/gl/gl_surface_stub.h
index 76f36ad13fa934422fc493ed4fea0d1ec0197e50..e447282cfb45048c35740379c3c8221a951b4752 100644
--- a/ui/gfx/gl/gl_surface_stub.h
+++ b/ui/gfx/gl/gl_surface_stub.h
@@ -13,8 +13,6 @@ namespace gfx {
// A GLSurface that does nothing for unit tests.
class GL_EXPORT GLSurfaceStub : public GLSurface {
public:
- virtual ~GLSurfaceStub();
-
void SetSize(const gfx::Size& size) { size_ = size; }
// Implement GLSurface.
@@ -24,6 +22,9 @@ class GL_EXPORT GLSurfaceStub : public GLSurface {
virtual gfx::Size GetSize() OVERRIDE;
virtual void* GetHandle() OVERRIDE;
+ protected:
+ virtual ~GLSurfaceStub();
+
private:
gfx::Size size_;
};
« no previous file with comments | « ui/gfx/gl/gl_surface_osmesa.cc ('k') | ui/gfx/gl/gl_surface_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698