Index: samplecode/SampleFilterFuzz.cpp |
diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp |
index 57e7de57aef8f7fc44378ff23f46f2d7654e8792..1b7d30be1de12ff32d473ce4a6e250cbf469433a 100644 |
--- a/samplecode/SampleFilterFuzz.cpp |
+++ b/samplecode/SampleFilterFuzz.cpp |
@@ -799,7 +799,8 @@ |
} |
} |
#endif // SK_ADD_RANDOM_BIT_FLIPS |
- SkFlattenable* flattenable = SkValidatingDeserializeFlattenable(ptr, len); |
+ SkFlattenable* flattenable = SkValidatingDeserializeFlattenable(ptr, len, |
+ SkImageFilter::GetFlattenableType()); |
return static_cast<SkImageFilter*>(flattenable); |
} |