From 5b1a2ca8c5c7b33aee7c1260d1161ba6c8cd6820 Mon Sep 17 00:00:00 2001 From: senorblanco Date: Tue, 22 Mar 2016 17:32:59 -0700 Subject: [PATCH] Remove SK_SUPPORT_LEGACY_FILTERBOUNDS_RETURN. It's now-unused. BUG=skia:5094 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1823243002 Review URL: https://codereview.chromium.org/1823243002 --- include/core/SkImageFilter.h | 6 ------ src/core/SkImageFilter.cpp | 8 -------- 2 files changed, 14 deletions(-) diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h index e58497d..025c8fd 100644 --- a/include/core/SkImageFilter.h +++ b/include/core/SkImageFilter.h @@ -170,12 +170,6 @@ public: SkIRect filterBounds(const SkIRect& src, const SkMatrix& ctm, MapDirection = kReverse_MapDirection) const; -#ifdef SK_SUPPORT_LEGACY_FILTERBOUNDS_RETURN - /* DEPRECATED */ - bool filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst, - MapDirection = kReverse_MapDirection) const; -#endif - /** * Returns true if the filter can be processed on the GPU. This is most * often used for multi-pass effects, where intermediate results must be diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp index 1c223a5..edaaa16 100644 --- a/src/core/SkImageFilter.cpp +++ b/src/core/SkImageFilter.cpp @@ -290,14 +290,6 @@ bool SkImageFilter::filterInputDeprecated(int index, Proxy* proxy, const SkBitma return tmp->internal_getBM(result); } -#ifdef SK_SUPPORT_LEGACY_FILTERBOUNDS_RETURN -bool SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst, - MapDirection direction) const { - *dst = filterBounds(src, ctm, direction); - return true; -} -#endif - SkIRect SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm, MapDirection direction) const { if (kReverse_MapDirection == direction) { -- 2.7.4