aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleFilterFuzz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleFilterFuzz.cpp')
-rw-r--r--samplecode/SampleFilterFuzz.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp
index 1b7d30be1d..57e7de57ae 100644
--- a/samplecode/SampleFilterFuzz.cpp
+++ b/samplecode/SampleFilterFuzz.cpp
@@ -799,8 +799,7 @@ static SkImageFilter* make_serialized_image_filter() {
}
}
#endif // SK_ADD_RANDOM_BIT_FLIPS
- SkFlattenable* flattenable = SkValidatingDeserializeFlattenable(ptr, len,
- SkImageFilter::GetFlattenableType());
+ SkFlattenable* flattenable = SkValidatingDeserializeFlattenable(ptr, len);
return static_cast<SkImageFilter*>(flattenable);
}