| Index: src/core/SkDevice.cpp
|
| diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp
|
| index 8ff5827adae8ce19910c6067b4a62a66ccd42735..78aa3ee52f9bcbd2419cf69db5016b16ae1534c3 100644
|
| --- a/src/core/SkDevice.cpp
|
| +++ b/src/core/SkDevice.cpp
|
| @@ -412,11 +412,7 @@ void SkBaseDevice::drawBitmapAsSprite(const SkDraw& draw, const SkBitmap& bitmap
|
| SkIPoint offset = SkIPoint::Make(0, 0);
|
| SkMatrix matrix = *draw.fMatrix;
|
| matrix.postTranslate(SkIntToScalar(-x), SkIntToScalar(-y));
|
| -#ifdef SK_SUPPORT_SRC_BOUNDS_BLOAT_FOR_IMAGEFILTERS
|
| - const SkIRect clipBounds = bitmap.bounds();
|
| -#else
|
| const SkIRect clipBounds = draw.fClip->getBounds().makeOffset(-x, -y);
|
| -#endif
|
| SkAutoTUnref<SkImageFilter::Cache> cache(this->getImageFilterCache());
|
| SkImageFilter::Context ctx(matrix, clipBounds, cache.get());
|
| if (filter->filterImage(&proxy, bitmap, ctx, &dst, &offset)) {
|
|
|