aboutsummaryrefslogtreecommitdiff
path: root/tests/MallocPixelRefTest.cpp
diff options
context:
space:
mode:
authorKevin Lubick <kjlubick@google.com>2022-10-17 15:25:35 -0400
committerKevin Lubick <kjlubick@google.com>2022-10-17 20:21:10 +0000
commit8c73a59cd417b3f8fae08dd2919840ca5a0848cc (patch)
treee519e1471ed4870ace4ca63acebc6bbc18617bcc /tests/MallocPixelRefTest.cpp
parent584ec9885ca1fbb9cc15536982ae262d80e644d4 (diff)
downloadskia-8c73a59cd417b3f8fae08dd2919840ca5a0848cc.tar.gz
[includes] Fix includes on tests/
Not included tests/graphite and tests/sksl Most of these changes are mechanical, except for: - include/gpu/dawn/GrDawnTypes.h to mark Dawn headers as exported (seems like the intent). - tests/DeferredDisplayListTest.cpp absorbing tests from tests/VkProtectedContextTest.cpp to avoid two test files from having a dependency on one another. The follow-on CL enforces IWYU on these files. Change-Id: I09138827001f28cbe0a9e52ac1025d4e547be644 Bug: skia:13052 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/589402 Reviewed-by: Ben Wagner <bungeman@google.com> Owners-Override: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'tests/MallocPixelRefTest.cpp')
-rw-r--r--tests/MallocPixelRefTest.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/MallocPixelRefTest.cpp b/tests/MallocPixelRefTest.cpp
index 1288a279f1..7ab06a419c 100644
--- a/tests/MallocPixelRefTest.cpp
+++ b/tests/MallocPixelRefTest.cpp
@@ -6,11 +6,17 @@
*/
#include "include/core/SkData.h"
+#include "include/core/SkImageInfo.h"
#include "include/core/SkMallocPixelRef.h"
+#include "include/core/SkPixelRef.h"
+#include "include/core/SkRefCnt.h"
#include "src/core/SkAutoMalloc.h"
#include "src/core/SkPixelRefPriv.h"
#include "tests/Test.h"
+#include <cstddef>
+#include <cstdint>
+
static void delete_uint8_proc(void* ptr, void*) {
delete[] static_cast<uint8_t*>(ptr);
}