Index: gm/resizeimagefilter.cpp |
diff --git a/gm/resizeimagefilter.cpp b/gm/resizeimagefilter.cpp |
index 28508fdb33c8c4265931233c29e61035e5aae242..fe7561626bd1edecb324a1f2ad7fd4b102803b8a 100644 |
--- a/gm/resizeimagefilter.cpp |
+++ b/gm/resizeimagefilter.cpp |
@@ -39,9 +39,9 @@ protected: |
canvas->translate(-rect.x(), -rect.y()); |
SkMatrix matrix; |
matrix.setScale(SkScalarInvert(deviceScaleX), SkScalarInvert(deviceScaleY)); |
- sk_sp<SkImageFilter> filter(SkImageFilter::CreateMatrixFilter(matrix, |
- filterQuality, |
- input.get())); |
+ sk_sp<SkImageFilter> filter(SkImageFilter::MakeMatrixFilter(matrix, |
+ filterQuality, |
+ std::move(input))); |
SkPaint filteredPaint; |
filteredPaint.setImageFilter(std::move(filter)); |
canvas->saveLayer(&rect, &filteredPaint); |