aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CodecPriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CodecPriv.h')
-rw-r--r--tests/CodecPriv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CodecPriv.h b/tests/CodecPriv.h
index e9ea24261d..515dbdec2a 100644
--- a/tests/CodecPriv.h
+++ b/tests/CodecPriv.h
@@ -16,7 +16,7 @@ inline bool decode_memory(const void* mem, size_t size, SkBitmap* bm) {
}
// Construct a color table for the decode if necessary
- SkAutoTUnref<SkColorTable> colorTable(nullptr);
+ sk_sp<SkColorTable> colorTable(nullptr);
SkPMColor* colorPtr = nullptr;
int* colorCountPtr = nullptr;
int maxColors = 256;