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

Unified Diff: ui/gfx/gl/gl_context_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_context_osmesa.cc ('k') | ui/gfx/gl/gl_context_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_context_stub.h
diff --git a/ui/gfx/gl/gl_context_stub.h b/ui/gfx/gl/gl_context_stub.h
index 4b3d849c3bdb1d7e9278f5af1703eea48ef53cf9..acb8d5cf2c3dca01e54a13a3f54170871afa92a2 100644
--- a/ui/gfx/gl/gl_context_stub.h
+++ b/ui/gfx/gl/gl_context_stub.h
@@ -14,11 +14,10 @@ namespace gfx {
class GL_EXPORT GLContextStub : public GLContext {
public:
GLContextStub();
- virtual ~GLContextStub();
// Implement GLContext.
- virtual bool Initialize(
- GLSurface* compatible_surface, GpuPreference gpu_preference) OVERRIDE;
+ virtual bool Initialize(GLSurface* compatible_surface,
+ GpuPreference gpu_preference) OVERRIDE;
virtual void Destroy() OVERRIDE;
virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
@@ -27,6 +26,9 @@ class GL_EXPORT GLContextStub : public GLContext {
virtual void SetSwapInterval(int interval) OVERRIDE;
virtual std::string GetExtensions() OVERRIDE;
+ protected:
+ virtual ~GLContextStub();
+
private:
DISALLOW_COPY_AND_ASSIGN(GLContextStub);
};
« no previous file with comments | « ui/gfx/gl/gl_context_osmesa.cc ('k') | ui/gfx/gl/gl_context_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698