Index: samplecode/SampleFilterFuzz.cpp |
diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp |
index 81ea2eaed40d409350710d9c69a2bec57ccdc179..0dd01e95b2f25250bb2f5f8c0e5cbbdc8e979474 100644 |
--- a/samplecode/SampleFilterFuzz.cpp |
+++ b/samplecode/SampleFilterFuzz.cpp |
@@ -712,7 +712,7 @@ static SkImageFilter* make_image_filter(bool canBeNull) { |
SkIntToScalar(kBitmapSize), |
&factory, 0); |
drawSomething(recordingCanvas); |
- SkAutoTUnref<SkPicture> pict(recorder.endRecording()); |
+ sk_sp<SkPicture> pict(recorder.finishRecordingAsPicture()); |
filter = SkPictureImageFilter::Create(pict.get(), make_rect()); |
} |
break; |