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
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 @@ 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 @@ 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) {