From a5494f117086d712855e4b6289c58c92d1549bcf Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Tue, 10 Jan 2017 15:02:26 -0500 Subject: SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h * SkAutoFree moved to SkTemplates.h (now implmented with unique_ptr). * SkAutoMalloc and SkAutoSMalloc moved to SkAutoMalloc.h * "SkAutoFree X(sk_malloc_throw(N));" --> "SkAutoMalloc X(N);" Change-Id: Idacd86ca09e22bf092422228599ae0d9bedded88 Reviewed-on: https://skia-review.googlesource.com/4543 Reviewed-by: Ben Wagner Reviewed-by: Mike Reed Commit-Queue: Hal Canary --- tests/PathTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/PathTest.cpp') diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index 2059c36db3..0ace812ef1 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -5,14 +5,14 @@ * found in the LICENSE file. */ -#include +#include "SkAutoMalloc.h" #include "SkCanvas.h" #include "SkGeometry.h" #include "SkPaint.h" #include "SkParse.h" #include "SkParsePath.h" -#include "SkPathPriv.h" #include "SkPathEffect.h" +#include "SkPathPriv.h" #include "SkRRect.h" #include "SkRandom.h" #include "SkReader32.h" @@ -20,9 +20,9 @@ #include "SkStream.h" #include "SkStrokeRec.h" #include "SkSurface.h" -#include "SkTypes.h" #include "SkWriter32.h" #include "Test.h" +#include static void set_radii(SkVector radii[4], int index, float rad) { sk_bzero(radii, sizeof(SkVector) * 4); -- cgit v1.2.3