summaryrefslogtreecommitdiffstats
path: root/ui/views/painter.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-09 13:29:39 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-09 13:29:39 +0000
commitc57cd8ea2b1742f30615ffd6b80dba8c5005cc2e (patch)
tree5379431ceaf112a2b03a5fa5dd254af724a6e06d /ui/views/painter.cc
parent21fdef690fcdcae47b2259944f3835bb159e8abb (diff)
downloadchromium_src-c57cd8ea2b1742f30615ffd6b80dba8c5005cc2e.zip
chromium_src-c57cd8ea2b1742f30615ffd6b80dba8c5005cc2e.tar.gz
chromium_src-c57cd8ea2b1742f30615ffd6b80dba8c5005cc2e.tar.bz2
views: Convert scoped_arrays to the new scoped_ptr style.
BUG=109874 R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/11639042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175790 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/painter.cc')
-rw-r--r--ui/views/painter.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/views/painter.cc b/ui/views/painter.cc
index c46854b..e461185 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_;