Index: gm/convex_all_line_paths.cpp |
diff --git a/gm/convex_all_line_paths.cpp b/gm/convex_all_line_paths.cpp |
index d56325b7dba6c0f9eb115c0f1cca3cd3ee541e05..0ffd65497cbf08ff910724f0917d0c09d50bd132 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)) { |