Index: fuzz/fuzz.cpp |
diff --git a/fuzz/fuzz.cpp b/fuzz/fuzz.cpp |
index dce9c8adbb2465ef2b3629cb75125ce5e952eb81..40f48175e274141dd81ccf3bd4d403db388c3ec8 100644 |
--- a/fuzz/fuzz.cpp |
+++ b/fuzz/fuzz.cpp |
@@ -358,7 +358,7 @@ int fuzz_img(SkData* bytes, uint8_t scale, uint8_t mode) { |
int fuzz_skp(SkData* bytes) { |
SkMemoryStream stream(bytes); |
SkDebugf("Decoding\n"); |
- SkAutoTUnref<SkPicture> pic(SkPicture::CreateFromStream(&stream)); |
+ sk_sp<SkPicture> pic(SkPicture::MakeFromStream(&stream)); |
if (!pic) { |
SkDebugf("[terminated] Couldn't decode as a picture.\n"); |
return 3; |