Index: samplecode/SampleFilterFuzz.cpp |
diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp |
index 3b31ef7a876ceac5576c1e5a74e8e8290847596e..dd17e7ee70049df413289b2b0fe9eca6c2d0076c 100644 |
--- a/samplecode/SampleFilterFuzz.cpp |
+++ b/samplecode/SampleFilterFuzz.cpp |
@@ -555,9 +555,10 @@ static sk_sp<SkImageFilter> make_image_filter(bool canBeNull) { |
switch (R(NUM_FILTERS)) { |
case ALPHA_THRESHOLD: |
- filter = sk_sp<SkImageFilter>(SkAlphaThresholdFilter::Create(make_region(), |
- make_scalar(), |
- make_scalar())); |
+ filter = SkAlphaThresholdFilter::Make(make_region(), |
+ make_scalar(), |
+ make_scalar(), |
+ nullptr); |
break; |
case MERGE: |
filter = SkMergeImageFilter::Make(make_image_filter(), |