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

Unified Diff: ui/gfx/gl/gl_surface_osmesa.cc

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_surface_osmesa.h ('k') | ui/gfx/gl/gl_surface_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_surface_osmesa.cc
diff --git a/ui/gfx/gl/gl_surface_osmesa.cc b/ui/gfx/gl/gl_surface_osmesa.cc
index eea7ee48c33313173eac71c3d4d24b5febf39ced..f4164329bb7527fc7267a6e9105306ac62a42e81 100644
--- a/ui/gfx/gl/gl_surface_osmesa.cc
+++ b/ui/gfx/gl/gl_surface_osmesa.cc
@@ -14,10 +14,6 @@ GLSurfaceOSMesa::GLSurfaceOSMesa(unsigned format, const gfx::Size& size)
size_(size) {
}
-GLSurfaceOSMesa::~GLSurfaceOSMesa() {
- Destroy();
-}
-
bool GLSurfaceOSMesa::Initialize() {
return Resize(size_);
}
@@ -79,4 +75,8 @@ unsigned GLSurfaceOSMesa::GetFormat() {
return format_;
}
+GLSurfaceOSMesa::~GLSurfaceOSMesa() {
+ Destroy();
+}
+
} // namespace gfx
« no previous file with comments | « ui/gfx/gl/gl_surface_osmesa.h ('k') | ui/gfx/gl/gl_surface_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698