Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index 11a2f74c70910e06901e6c8f6b873b9a91dbaf8f..0e0df3625f93f5bc05184ea92aac92a712595752 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -573,10 +573,10 @@ bool SkImageFilter::asFragmentProcessor(GrFragmentProcessor**, GrTexture*, |
return false; |
} |
-SkImageFilter* SkImageFilter::CreateMatrixFilter(const SkMatrix& matrix, |
- SkFilterQuality filterQuality, |
- SkImageFilter* input) { |
- return SkMatrixImageFilter::Create(matrix, filterQuality, input); |
+sk_sp<SkImageFilter> SkImageFilter::MakeMatrixFilter(const SkMatrix& matrix, |
+ SkFilterQuality filterQuality, |
+ sk_sp<SkImageFilter> input) { |
+ return SkMatrixImageFilter::Make(matrix, filterQuality, std::move(input)); |
} |
sk_sp<SkImageFilter> SkImageFilter::makeWithLocalMatrix(const SkMatrix& matrix) const { |