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_; |
}; |