Index: gm/imagefilterstransformed.cpp |
diff --git a/gm/imagefilterstransformed.cpp b/gm/imagefilterstransformed.cpp |
index e9a6a5da6d7f7c26ee0a55cd7062ec6066b88e5a..a9b1863ace084d3bcb12182c397636438eb78422 100644 |
--- a/gm/imagefilterstransformed.cpp |
+++ b/gm/imagefilterstransformed.cpp |
@@ -63,8 +63,8 @@ protected: |
} |
void onDraw(SkCanvas* canvas) override { |
- SkAutoTUnref<SkImageFilter> gradient(SkImageSource::Create(fGradientCircle.get())); |
- SkAutoTUnref<SkImageFilter> checkerboard(SkImageSource::Create(fCheckerboard.get())); |
+ sk_sp<SkImageFilter> gradient(SkImageSource::Make(fGradientCircle)); |
+ sk_sp<SkImageFilter> checkerboard(SkImageSource::Make(fCheckerboard)); |
SkImageFilter* filters[] = { |
SkBlurImageFilter::Create(12, 0), |
SkDropShadowImageFilter::Create(0, 15, 8, 0, SK_ColorGREEN, |