Index: src/effects/SkTileImageFilter.cpp |
diff --git a/src/effects/SkTileImageFilter.cpp b/src/effects/SkTileImageFilter.cpp |
index 6da572b3b85bee4fe919a31338c5b7b486136398..55eb8a1d64e0a6133c97ba8cfe327e1348f10ed1 100644 |
--- a/src/effects/SkTileImageFilter.cpp |
+++ b/src/effects/SkTileImageFilter.cpp |
@@ -113,9 +113,6 @@ void SkTileImageFilter::onFilterNodeBounds(const SkIRect& src, const SkMatrix& c |
SkRect rect = kReverse_MapDirection == direction ? fSrcRect : fDstRect; |
ctm.mapRect(&rect); |
rect.roundOut(dst); |
-#ifdef SK_SUPPORT_SRC_BOUNDS_BLOAT_FOR_IMAGEFILTERS |
- dst->join(src); |
-#endif |
} |
bool SkTileImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, |
@@ -125,13 +122,7 @@ bool SkTileImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, |
} |
void SkTileImageFilter::computeFastBounds(const SkRect& src, SkRect* dst) const { |
-#ifdef SK_SUPPORT_SRC_BOUNDS_BLOAT_FOR_IMAGEFILTERS |
- // This is a workaround for skia:3194. |
- *dst = src; |
- dst->join(fDstRect); |
-#else |
*dst = fDstRect; |
-#endif |
} |
SkFlattenable* SkTileImageFilter::CreateProc(SkReadBuffer& buffer) { |