Index: gm/bigtileimagefilter.cpp |
diff --git a/gm/bigtileimagefilter.cpp b/gm/bigtileimagefilter.cpp |
index 5c12f94ea01d2c447deb4ca2d021f7f867329864..b74f62ce61d684ec24df0dc0f02845472a50f6ad 100644 |
--- a/gm/bigtileimagefilter.cpp |
+++ b/gm/bigtileimagefilter.cpp |
@@ -57,10 +57,10 @@ protected: |
const SkRect bound = SkRect::MakeIWH(kWidth, kHeight); |
sk_sp<SkImageFilter> imageSource(SkImageSource::Make(fRedImage)); |
- sk_sp<SkImageFilter> tif(SkTileImageFilter::Create( |
+ sk_sp<SkImageFilter> tif(SkTileImageFilter::Make( |
SkRect::MakeIWH(kBitmapSize, kBitmapSize), |
SkRect::MakeIWH(kWidth, kHeight), |
- imageSource.get())); |
+ std::move(imageSource))); |
p.setImageFilter(std::move(tif)); |
@@ -73,7 +73,7 @@ protected: |
const SkRect bound2 = SkRect::MakeIWH(kBitmapSize, kBitmapSize); |
- sk_sp<SkImageFilter> tif(SkTileImageFilter::Create( |
+ sk_sp<SkImageFilter> tif(SkTileImageFilter::Make( |
SkRect::MakeIWH(kBitmapSize, kBitmapSize), |
SkRect::MakeIWH(kBitmapSize, kBitmapSize), |
nullptr)); |