| Index: src/effects/SkResizeImageFilter.cpp
|
| diff --git a/src/effects/SkResizeImageFilter.cpp b/src/effects/SkResizeImageFilter.cpp
|
| index 3c4165c610f92dd827a0710dc61d080e5de740cc..4a3f4b56ee62022e4dbc24c4a646db025ff7c989 100644
|
| --- a/src/effects/SkResizeImageFilter.cpp
|
| +++ b/src/effects/SkResizeImageFilter.cpp
|
| @@ -80,28 +80,3 @@ bool SkResizeImageFilter::onFilterImage(Proxy* proxy,
|
| offset->fY = dstBounds.fTop;
|
| return true;
|
| }
|
| -
|
| -void SkResizeImageFilter::computeFastBounds(const SkRect& src, SkRect* dst) const {
|
| - SkRect bounds = src;
|
| - if (getInput(0)) {
|
| - getInput(0)->computeFastBounds(src, &bounds);
|
| - }
|
| - dst->setXYWH(bounds.x(), bounds.y(), bounds.width() * fSx, bounds.height() * fSy);
|
| -}
|
| -
|
| -bool SkResizeImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
|
| - SkIRect* dst) const {
|
| - SkMatrix dstMatrix;
|
| - SkRect dstRect;
|
| - SkIRect dstRectI;
|
| - dstMatrix.setScale(SkScalarInvert(fSx), SkScalarInvert(fSy));
|
| - dstMatrix.mapRect(&dstRect, SkRect::Make(src));
|
| - dstRect.roundOut(&dstRectI);
|
| - if (getInput(0) && !getInput(0)->filterBounds(dstRectI, ctm, &dstRectI)) {
|
| - return false;
|
| - }
|
| -// *dst = dstRectI;
|
| - *dst = src;
|
| - return true;
|
| -}
|
| -
|
|
|