Index: src/effects/SkOffsetImageFilter.cpp |
diff --git a/src/effects/SkOffsetImageFilter.cpp b/src/effects/SkOffsetImageFilter.cpp |
index e39c8d25062fd0888aa8844177e1be9ee0650b3f..70247f2a190cf31bd894051c6c325cc0a8bb22ce 100644 |
--- a/src/effects/SkOffsetImageFilter.cpp |
+++ b/src/effects/SkOffsetImageFilter.cpp |
@@ -66,13 +66,7 @@ void SkOffsetImageFilter::computeFastBounds(const SkRect& src, SkRect* dst) cons |
} else { |
*dst = src; |
} |
-#ifdef SK_SUPPORT_SRC_BOUNDS_BLOAT_FOR_IMAGEFILTERS |
- SkRect copy = *dst; |
-#endif |
dst->offset(fOffset.fX, fOffset.fY); |
-#ifdef SK_SUPPORT_SRC_BOUNDS_BLOAT_FOR_IMAGEFILTERS |
- dst->join(copy); |
-#endif |
} |
void SkOffsetImageFilter::onFilterNodeBounds(const SkIRect& src, const SkMatrix& ctm, |
@@ -85,9 +79,6 @@ void SkOffsetImageFilter::onFilterNodeBounds(const SkIRect& src, const SkMatrix& |
*dst = src; |
dst->offset(SkScalarCeilToInt(vec.fX), SkScalarCeilToInt(vec.fY)); |
-#ifdef SK_SUPPORT_SRC_BOUNDS_BLOAT_FOR_IMAGEFILTERS |
- dst->join(src); |
-#endif |
} |
SkFlattenable* SkOffsetImageFilter::CreateProc(SkReadBuffer& buffer) { |