Index: fuzz/FilterFuzz.cpp |
diff --git a/fuzz/FilterFuzz.cpp b/fuzz/FilterFuzz.cpp |
index 3255b4be4c686de248a29bad0fff9cfebe1cd484..6b766a2b7c72f65828cc414646c527bf0e12e890 100644 |
--- a/fuzz/FilterFuzz.cpp |
+++ b/fuzz/FilterFuzz.cpp |
@@ -734,7 +734,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 |