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 |