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

Unified Diff: ui/gl/gl_surface_osmesa.cc

Issue 11878022: ui: Convert scoped_arrays to the new scoped_ptr style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/gl/gl_surface_osmesa.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_osmesa.cc
diff --git a/ui/gl/gl_surface_osmesa.cc b/ui/gl/gl_surface_osmesa.cc
index a1fd36035eb211cfbbc9541bfe0fe738195596cb..7994eec379187df5b0838ab1f7749615d8fff3ae 100644
--- a/ui/gl/gl_surface_osmesa.cc
+++ b/ui/gl/gl_surface_osmesa.cc
@@ -29,7 +29,7 @@ bool GLSurfaceOSMesa::Resize(const gfx::Size& new_size) {
current_context->ReleaseCurrent(this);
// Preserve the old buffer.
- scoped_array<int32> old_buffer(buffer_.release());
+ scoped_ptr<int32[]> old_buffer(buffer_.release());
// Allocate a new one.
buffer_.reset(new int32[new_size.GetArea()]);
« no previous file with comments | « ui/gl/gl_surface_osmesa.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698