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
This commit is contained in:
senorblanco 2016-03-22 17:32:59 -07:00 committed by Commit bot
parent 0e05f38502
commit 5b1a2ca8c5
2 changed files with 0 additions and 14 deletions

View File

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

View File

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