Index: fuzz/FilterFuzz.cpp |
diff --git a/fuzz/FilterFuzz.cpp b/fuzz/FilterFuzz.cpp |
index 87653a18bb3418cd53cbe3add419bbfb0a864c53..67eb0b8c47f35b5132f06c7e233366571c58ab77 100644 |
--- a/fuzz/FilterFuzz.cpp |
+++ b/fuzz/FilterFuzz.cpp |
@@ -579,8 +579,9 @@ static sk_sp<SkImageFilter> make_image_filter(bool canBeNull) { |
make_image_filter()); |
break; |
case MAGNIFIER: |
- filter = sk_sp<SkImageFilter>(SkMagnifierImageFilter::Create(make_rect(), |
- make_scalar(true))); |
+ filter = SkMagnifierImageFilter::Make(make_rect(), |
+ make_scalar(true), |
+ make_image_filter()); |
f(malita)
2016/04/07 13:33:42
Third arg should be nullptr for equivalence with e
robertphillips
2016/04/07 14:02:05
Right - I believe the prior behavior was incorrect
|
break; |
case DOWN_SAMPLE: |
filter = sk_sp<SkImageFilter>(SkDownSampleImageFilter::Create(make_scalar())); |