Index: src/effects/SkPictureImageFilter.cpp |
diff --git a/src/effects/SkPictureImageFilter.cpp b/src/effects/SkPictureImageFilter.cpp |
index 30fbac184a01281d349ee693ce5229c78f817970..0c95b328c0f8d44f4d6e7f76b34288effa5767ef 100644 |
--- a/src/effects/SkPictureImageFilter.cpp |
+++ b/src/effects/SkPictureImageFilter.cpp |
@@ -81,9 +81,8 @@ bool SkPictureImageFilter::onFilterImage(Proxy* proxy, const SkBitmap&, const Co |
} |
SkRect floatBounds; |
- SkIRect bounds; |
ctx.ctm().mapRect(&floatBounds, fCropRect); |
- floatBounds.roundOut(&bounds); |
+ SkIRect bounds = floatBounds.roundOut(); |
if (!bounds.intersect(ctx.clipBounds())) { |
return false; |
} |