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 d56325b7db..0ffd65497c 100644
--- a/gm/convex_all_line_paths.cpp
+++ b/gm/convex_all_line_paths.cpp
@@ -165,7 +165,7 @@ protected:
};
SK_COMPILE_ASSERT(SK_ARRAY_COUNT(gSizes) == SK_ARRAY_COUNT(gPoints), array_mismatch);
- SkAutoTDelete<SkPoint> data;
+ SkAutoTDeleteArray<SkPoint> data(NULL);
const SkPoint* points;
int numPts;
if (index < (int) SK_ARRAY_COUNT(gPoints)) {