Index: src/effects/SkTileImageFilter.cpp |
diff --git a/src/effects/SkTileImageFilter.cpp b/src/effects/SkTileImageFilter.cpp |
index 844895c6d827a9d103f6136293ec4a1f2d7db8cf..6da572b3b85bee4fe919a31338c5b7b486136398 100644 |
--- a/src/effects/SkTileImageFilter.cpp |
+++ b/src/effects/SkTileImageFilter.cpp |
@@ -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(); |