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: gpu/command_buffer/service/gl_surface_mock.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: gpu/command_buffer/service/gl_surface_mock.h
diff --git a/gpu/command_buffer/service/gl_surface_mock.h b/gpu/command_buffer/service/gl_surface_mock.h
index 791e94629ebe0dde33185f6fb7c35969c63f53b6..f3ab342cc0f194d14e6b6523f88e820b021ff75c 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);
};

Powered by Google App Engine
This is Rietveld 408576698