Index: tests/CodecPriv.h |
diff --git a/tests/CodecPriv.h b/tests/CodecPriv.h |
index 1123a41dc9ff1c9e35359e8a54c2735166d3c567..4e42731b0117a1a433ef986fd23869880c3402a0 100644 |
--- a/tests/CodecPriv.h |
+++ b/tests/CodecPriv.h |
@@ -10,7 +10,7 @@ |
#include "SkData.h" |
inline bool decode_memory(const void* mem, size_t size, SkBitmap* bm) { |
- SkAutoTUnref<SkData> data(SkData::NewWithoutCopy(mem, size)); |
+ sk_sp<SkData> data(SkData::MakeWithoutCopy(mem, size)); |
SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(data.get())); |
if (!codec) { |