diff options
author | 2016-01-21 06:49:15 -0800 | |
---|---|---|
committer | 2016-01-21 06:49:15 -0800 | |
commit | d247e5862ef9f7130f36ba91aae43a09659eade3 (patch) | |
tree | 2823072550be9032160ce7bab9c99cfea1dfc56a /src/core/SkDevice.cpp | |
parent | b0d25466be6106a0084a4d76c6f79efe389ba820 (diff) |
Remove SK_SUPPORT_SRC_BOUNDS_BLOAT_FOR_IMAGEFILTERS (now unused).
BUG=skia:3194
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1616503002
Review URL: https://codereview.chromium.org/1616503002
Diffstat (limited to 'src/core/SkDevice.cpp')
-rw-r--r-- | src/core/SkDevice.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp index 8ff5827ada..78aa3ee52f 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)) { |