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

Unified Diff: ui/gl/gl_context_wgl.h

Issue 1120203004: win: Ref-counted classes should have non-public destructors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: ui/gl/gl_context_wgl.h
diff --git a/ui/gl/gl_context_wgl.h b/ui/gl/gl_context_wgl.h
index 7a0a4370b800a685ed3ef7a90491e8d4f5f39a5c..ff0aae0d96f98583d0e14b48d4e3d3ae04fccf44 100644
--- a/ui/gl/gl_context_wgl.h
+++ b/ui/gl/gl_context_wgl.h
@@ -18,7 +18,6 @@ class GLSurface;
class GLContextWGL : public GLContextReal {
public:
explicit GLContextWGL(GLShareGroup* share_group);
- ~GLContextWGL() override;
// Implement GLContext.
bool Initialize(GLSurface* compatible_surface,
@@ -32,6 +31,8 @@ class GLContextWGL : public GLContextReal {
std::string GetExtensions() override;
private:
+ ~GLContextWGL() override;
+
HGLRC context_;
DISALLOW_COPY_AND_ASSIGN(GLContextWGL);

Powered by Google App Engine
This is Rietveld 408576698