diff options
Diffstat (limited to 'include/core/SkImageFilter.h')
-rw-r--r-- | include/core/SkImageFilter.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h index 9188a89e27..c2d7261196 100644 --- a/include/core/SkImageFilter.h +++ b/include/core/SkImageFilter.h @@ -223,12 +223,6 @@ public: */ sk_sp<SkImageFilter> makeWithLocalMatrix(const SkMatrix&) const; -#ifdef SK_SUPPORT_LEGACY_IMAGEFILTER_PTR - SkImageFilter* newWithLocalMatrix(const SkMatrix& matrix) const { - return this->makeWithLocalMatrix(matrix).release(); - } -#endif - /** * ImageFilters can natively handle scaling and translate components in the CTM. Only some of * them can handle affine (or more complex) matrices. This call returns true iff the filter @@ -243,14 +237,6 @@ public: SkFilterQuality quality, sk_sp<SkImageFilter> input); -#ifdef SK_SUPPORT_LEGACY_IMAGEFILTER_PTR - static SkImageFilter* CreateMatrixFilter(const SkMatrix& matrix, - SkFilterQuality filterQuality, - SkImageFilter* input = nullptr) { - return MakeMatrixFilter(matrix, filterQuality, sk_ref_sp<SkImageFilter>(input)).release(); - } -#endif - SK_TO_STRING_PUREVIRT() SK_DEFINE_FLATTENABLE_TYPE(SkImageFilter) SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() |