Index: gm/filterfastbounds.cpp |
diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp |
index 8bc186e48d885a598c38d720b892810870aaf03b..9d07095855daeb0b8aae5e74f53cbff3413c55ab 100644 |
--- a/gm/filterfastbounds.cpp |
+++ b/gm/filterfastbounds.cpp |
@@ -277,10 +277,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); |