Index: src/effects/SkTileImageFilter.cpp |
diff --git a/src/effects/SkTileImageFilter.cpp b/src/effects/SkTileImageFilter.cpp |
index b2244b9629042e121653b3e4e884bf207775bc3b..2b7ed940d244ae9b333206b922ff6e7501931d77 100644 |
--- a/src/effects/SkTileImageFilter.cpp |
+++ b/src/effects/SkTileImageFilter.cpp |
@@ -93,6 +93,12 @@ bool SkTileImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, |
return true; |
} |
+void SkTileImageFilter::computeFastBounds(const SkRect& src, SkRect* dst) const { |
+ // This is a workaround for skia:3194. |
+ *dst = src; |
+ dst->join(fDstRect); |
+} |
+ |
SkFlattenable* SkTileImageFilter::CreateProc(SkReadBuffer& buffer) { |
SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 1); |
SkRect src, dst; |