summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gl_surface_mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/gl_surface_mock.h')
-rw-r--r--gpu/command_buffer/service/gl_surface_mock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/gl_surface_mock.h b/gpu/command_buffer/service/gl_surface_mock.h
index 791e946..f3ab342c 100644
--- a/gpu/command_buffer/service/gl_surface_mock.h
+++ b/gpu/command_buffer/service/gl_surface_mock.h
@@ -14,7 +14,6 @@ namespace gpu {
class GLSurfaceMock : public gfx::GLSurface {
public:
GLSurfaceMock();
- virtual ~GLSurfaceMock();
MOCK_METHOD0(Initialize, bool());
MOCK_METHOD0(Destroy, void());
@@ -34,6 +33,9 @@ class GLSurfaceMock : public gfx::GLSurface {
MOCK_METHOD0(GetConfig, void*());
MOCK_METHOD0(GetFormat, unsigned());
+ protected:
+ virtual ~GLSurfaceMock();
+
private:
DISALLOW_COPY_AND_ASSIGN(GLSurfaceMock);
};