aboutsummaryrefslogtreecommitdiff
path: root/tests/MallocPixelRefTest.cpp
diff options
context:
space:
mode:
authorHal Canary <halcanary@google.com>2017-01-11 12:44:43 -0500
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2017-01-11 18:55:34 +0000
commit95e3c058ef633782f7549e9e1c2727d60dbc8ee5 (patch)
tree4db526398bc87c48db4565a2046b9321b7e2ee10 /tests/MallocPixelRefTest.cpp
parent000ca636e6de2e2b8bf9c82e3dee2d7ad8e1bed8 (diff)
downloadskia-95e3c058ef633782f7549e9e1c2727d60dbc8ee5.tar.gz
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);" Revert "Revert 'SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h'" This reverts commit c456b73fef9589bbdc5eb83eaa83e53c357bb3da. Change-Id: Ie2c1a17c20134b8ceab85a68b3ae3e61c24fbaab Reviewed-on: https://skia-review.googlesource.com/6886 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'tests/MallocPixelRefTest.cpp')
-rw-r--r--tests/MallocPixelRefTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/MallocPixelRefTest.cpp b/tests/MallocPixelRefTest.cpp
index 09e1b934e9..7e2bece7be 100644
--- a/tests/MallocPixelRefTest.cpp
+++ b/tests/MallocPixelRefTest.cpp
@@ -5,6 +5,7 @@
* found in the LICENSE file.
*/
+#include "SkAutoMalloc.h"
#include "SkData.h"
#include "SkMallocPixelRef.h"
#include "Test.h"