Index: gm/filterfastbounds.cpp |
diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp |
index bcecff9379dff55a49870d70b08de343a4cf3673..f9e38532a96b328e5754d14c5429230aa846c826 100644 |
--- a/gm/filterfastbounds.cpp |
+++ b/gm/filterfastbounds.cpp |
@@ -276,10 +276,10 @@ protected: |
} |
sk_sp<SkImage> image(surface->makeImageSnapshot()); |
- SkAutoTUnref<SkImageFilter> imageSource(SkImageSource::Create(image.get())); |
+ sk_sp<SkImageFilter> imageSource(SkImageSource::Make(std::move(image))); |
SkTArray<SkPaint> bmsPaints; |
- create_paints(imageSource, &bmsPaints); |
+ create_paints(imageSource.get(), &bmsPaints); |
//----------- |
SkASSERT(paints.count() == kNumVertTiles); |