Index: gm/filterfastbounds.cpp |
diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp |
index 1de30e5826beaedb4831154fc69db59e33a606fd..9e84024897d4585bdd178fd38eab47239b731c02 100644 |
--- a/gm/filterfastbounds.cpp |
+++ b/gm/filterfastbounds.cpp |
@@ -256,10 +256,10 @@ protected: |
pic = rec.finishRecordingAsPicture(); |
} |
- SkAutoTUnref<SkImageFilter> pif(SkPictureImageFilter::Create(pic.get())); |
+ sk_sp<SkImageFilter> pif(SkPictureImageFilter::Make(pic)); |
SkTArray<SkPaint> pifPaints; |
- create_paints(pif, &pifPaints); |
+ create_paints(pif.get(), &pifPaints); |
//----------- |
// Paints with a SkImageSource as a source |