From 7ecc59610de72043e9b7ebaf1ef45c43425e54fc Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Wed, 2 Nov 2016 17:07:33 -0400 Subject: Remove SkAutoTDeleteArray This class is already just an alias for std::unique_ptr, so replace all uses with that and delete the class. CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-ASAN-Trybot,Test-Ubuntu-Clang-Golo-GPU-GT610-x86_64-Debug-ASAN-Trybot Change-Id: I40668d398356a22da071ee791666c7f728b59266 Reviewed-on: https://skia-review.googlesource.com/4362 Reviewed-by: Mike Reed Reviewed-by: Mike Klein --- gm/convex_all_line_paths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gm/convex_all_line_paths.cpp') 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 data(nullptr); + std::unique_ptr data(nullptr); const SkPoint* points; int numPts; if (index < (int) SK_ARRAY_COUNT(gPoints)) { -- cgit v1.2.3