diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-12 16:34:22 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-12 16:34:22 +0000 |
commit | a383b35847acaea23b5cb9bfa80ee048638d8901 (patch) | |
tree | fd36f817ccaee4bce3fd9e17240240afb3a8821e /ui/gfx/path_gtk.cc | |
parent | 8709344248dffa1d2eb49b2e9b01a0bb4a718b31 (diff) | |
download | chromium_src-a383b35847acaea23b5cb9bfa80ee048638d8901.zip chromium_src-a383b35847acaea23b5cb9bfa80ee048638d8901.tar.gz chromium_src-a383b35847acaea23b5cb9bfa80ee048638d8901.tar.bz2 |
ui/gfx: Convert scoped_arrays to the new scoped_ptr style.
BUG=109874
R=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11817043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176538 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/path_gtk.cc')
-rw-r--r-- | ui/gfx/path_gtk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gfx/path_gtk.cc b/ui/gfx/path_gtk.cc index bb1c3fc..99dad2b 100644 --- a/ui/gfx/path_gtk.cc +++ b/ui/gfx/path_gtk.cc @@ -19,10 +19,10 @@ GdkRegion* Path::CreateNativeRegion() const { return NULL; } - scoped_array<SkPoint> points(new SkPoint[point_count]); + scoped_ptr<SkPoint[]> points(new SkPoint[point_count]); getPoints(points.get(), point_count); - scoped_array<GdkPoint> gdk_points(new GdkPoint[point_count]); + scoped_ptr<GdkPoint[]> gdk_points(new GdkPoint[point_count]); for (int i = 0; i < point_count; ++i) { gdk_points[i].x = SkScalarRound(points[i].fX); gdk_points[i].y = SkScalarRound(points[i].fY); |