Index: gm/imagefilterscropexpand.cpp |
diff --git a/gm/imagefilterscropexpand.cpp b/gm/imagefilterscropexpand.cpp |
index 6b2484e1a840aa0ecdf7ed380fa9bc645dc908b0..82df81cbdb85ed88780e26954a6ab3e850337b8d 100644 |
--- a/gm/imagefilterscropexpand.cpp |
+++ b/gm/imagefilterscropexpand.cpp |
@@ -48,8 +48,7 @@ protected: |
SkBitmap checkerboard; |
MakeCheckerboard(&checkerboard); |
- SkAutoTUnref<SkImageFilter> gradientCircleSource( |
- SkImageSource::Create(gradientCircle.get())); |
+ sk_sp<SkImageFilter> gradientCircleSource(SkImageSource::Make(std::move(gradientCircle))); |
sk_sp<SkImageFilter> noopCropped(SkOffsetImageFilter::Make(0, 0, nullptr, &cropRect)); |
SkScalar sk255 = SkIntToScalar(255); |
SkScalar matrix[20] = { 1, 0, 0, 0, 0, |