aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkImageFilter.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index f4273cb8da..ab72547fed 100644
--- a/include/core/SkImageFilter.h
+++ b/include/core/SkImageFilter.h
@@ -255,13 +255,7 @@ public:
* If this filter can be represented by another filter + a localMatrix, return that filter,
* else return null.
*/
- sk_sp<SkImageFilter> makeWithLocalMatrix(const SkMatrix&) const;
-
-#ifdef SK_SUPPORT_LEGACY_IMAGEFILTER_PTR
- SkImageFilter* newWithLocalMatrix(const SkMatrix& matrix) const {
- this->makeWithLocalMatrix(matrix).release();
- }
-#endif
+ SkImageFilter* newWithLocalMatrix(const SkMatrix& matrix) const;
/**
* Create an SkMatrixImageFilter, which transforms its input by the given matrix.
@@ -326,9 +320,7 @@ protected:
void allocInputs(int count);
};
- SkImageFilter(int inputCount, SkImageFilter** inputs, const CropRect* cropRect = nullptr);
-
- SkImageFilter(sk_sp<SkImageFilter>* inputs, int inputCount, const CropRect* cropRect);
+ SkImageFilter(int inputCount, SkImageFilter** inputs, const CropRect* cropRect = NULL);
virtual ~SkImageFilter();