Index: samplecode/SampleFilterFuzz.cpp |
diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp |
index 7a53f4f18e4f68ffd0757265129e860896a8c70f..755e8fb4587d3254f7544ca0e82c02fc17682626 100644 |
--- a/samplecode/SampleFilterFuzz.cpp |
+++ b/samplecode/SampleFilterFuzz.cpp |
@@ -738,7 +738,7 @@ static sk_sp<SkImageFilter> make_image_filter(bool canBeNull) { |
static SkImageFilter* make_serialized_image_filter() { |
sk_sp<SkImageFilter> filter(make_image_filter(false)); |
- SkAutoTUnref<SkData> data(SkValidatingSerializeFlattenable(filter.get())); |
+ sk_sp<SkData> data(SkValidatingSerializeFlattenable(filter.get())); |
const unsigned char* ptr = static_cast<const unsigned char*>(data->data()); |
size_t len = data->size(); |
#ifdef SK_ADD_RANDOM_BIT_FLIPS |