Index: src/effects/SkMatrixImageFilter.cpp |
diff --git a/src/effects/SkMatrixImageFilter.cpp b/src/effects/SkMatrixImageFilter.cpp |
index 34231ba98b01a0aed67f91da7991efd59d25e1c5..8b07dd4a467833ba290dc97474fb1f9b799c4b45 100644 |
--- a/src/effects/SkMatrixImageFilter.cpp |
+++ b/src/effects/SkMatrixImageFilter.cpp |
@@ -127,8 +127,7 @@ bool SkMatrixImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm |
matrix.postConcat(ctm); |
SkRect floatBounds; |
matrix.mapRect(&floatBounds, SkRect::Make(src)); |
- SkIRect bounds; |
- floatBounds.roundOut(&bounds); |
+ SkIRect bounds = floatBounds.roundOut(); |
if (getInput(0) && !getInput(0)->filterBounds(bounds, ctm, &bounds)) { |
return false; |
} |