Index: fuzz/FilterFuzz.cpp |
diff --git a/fuzz/FilterFuzz.cpp b/fuzz/FilterFuzz.cpp |
index 87653a18bb3418cd53cbe3add419bbfb0a864c53..db3dc8f8a7fd1a756a74adae44e2b70d807c4077 100644 |
--- a/fuzz/FilterFuzz.cpp |
+++ b/fuzz/FilterFuzz.cpp |
@@ -583,7 +583,7 @@ static sk_sp<SkImageFilter> make_image_filter(bool canBeNull) { |
make_scalar(true))); |
break; |
case DOWN_SAMPLE: |
- filter = sk_sp<SkImageFilter>(SkDownSampleImageFilter::Create(make_scalar())); |
+ filter = SkDownSampleImageFilter::Make(make_scalar(), make_image_filter()); |
break; |
case XFERMODE: |
filter = SkXfermodeImageFilter::Make(SkXfermode::Make(make_xfermode()), |