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

Unified Diff: ui/views/painter.cc

Issue 11639042: views: Convert scoped_arrays to the new scoped_ptr style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/views/controls/table/table_view_win.h ('k') | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/painter.cc
diff --git a/ui/views/painter.cc b/ui/views/painter.cc
index c46854b3727e368902ec4b6d7d8b396204d480d0..e461185a1ce50566700f02cb0c70ec19f703343f 100644
--- a/ui/views/painter.cc
+++ b/ui/views/painter.cc
@@ -64,9 +64,9 @@ class GradientPainter : public Painter {
// If |horizontal_| is true then the gradiant is painted horizontally.
bool horizontal_;
// The gradient colors.
- scoped_array<SkColor> colors_;
+ scoped_ptr<SkColor[]> colors_;
// The relative positions of the corresponding gradient colors.
- scoped_array<SkScalar> pos_;
+ scoped_ptr<SkScalar[]> pos_;
// The number of elements in |colors_| and |pos_|.
size_t count_;
« no previous file with comments | « ui/views/controls/table/table_view_win.h ('k') | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698