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 --- tools/sk_tool_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/sk_tool_utils.cpp') diff --git a/tools/sk_tool_utils.cpp b/tools/sk_tool_utils.cpp index 49afd543b8..fcc8d4c725 100644 --- a/tools/sk_tool_utils.cpp +++ b/tools/sk_tool_utils.cpp @@ -457,7 +457,7 @@ SkBitmap slow_blur(const SkBitmap& src, float sigma) { dst.allocN32Pixels(src.width(), src.height(), true); int wh; - SkAutoTDeleteArray kernel(create_2d_kernel(sigma, &wh)); + std::unique_ptr kernel(create_2d_kernel(sigma, &wh)); for (int y = 0; y < src.height(); ++y) { for (int x = 0; x < src.width(); ++x) { -- cgit v1.2.3