aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/convex_all_line_paths.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/convex_all_line_paths.cpp')
-rw-r--r--gm/convex_all_line_paths.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/convex_all_line_paths.cpp b/gm/convex_all_line_paths.cpp
index aba1ef27ce..62e8835831 100644
--- a/gm/convex_all_line_paths.cpp
+++ b/gm/convex_all_line_paths.cpp
@@ -170,7 +170,7 @@ protected:
};
static_assert(SK_ARRAY_COUNT(gSizes) == SK_ARRAY_COUNT(gPoints), "array_mismatch");
- SkAutoTDeleteArray<SkPoint> data(nullptr);
+ std::unique_ptr<SkPoint[]> data(nullptr);
const SkPoint* points;
int numPts;
if (index < (int) SK_ARRAY_COUNT(gPoints)) {