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_; |