Index: samplecode/SampleFilterFuzz.cpp |
diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp |
index dd72d1237c6a04c9fc0d7fc494da860eafe650d7..0602e2bcbbf926b82884b4f744c472c6e45493ba 100644 |
--- a/samplecode/SampleFilterFuzz.cpp |
+++ b/samplecode/SampleFilterFuzz.cpp |
@@ -701,7 +701,7 @@ static SkImageFilter* make_image_filter(bool canBeNull) { |
&factory, 0); |
drawSomething(recordingCanvas); |
sk_sp<SkPicture> pict(recorder.finishRecordingAsPicture()); |
- filter = SkPictureImageFilter::Create(pict.get(), make_rect()); |
+ filter = SkPictureImageFilter::Make(pict, make_rect()).release(); |
} |
break; |
case PAINT: |