Remove #ifdef SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION.

No longer enabled in Chrome.

BUG=569950
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1580843002

Review URL: https://codereview.chromium.org/1580843002
This commit is contained in:
senorblanco 2016-01-12 12:12:56 -08:00 committed by Commit bot
parent eeebfff548
commit 8d30dae5a0

View File

@ -46,12 +46,10 @@ bool SkTileImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src,
SkRect dstRect;
ctx.ctm().mapRect(&dstRect, fDstRect);
#ifndef SK_DISABLE_TILE_IMAGE_FILTER_DEST_OPTIMIZATION
if (!dstRect.intersect(SkRect::Make(ctx.clipBounds()))) {
offset->fX = offset->fY = 0;
return true;
}
#endif
const SkIRect dstIRect = dstRect.roundOut();
int w = dstIRect.width();
int h = dstIRect.height();