Index: src/effects/SkTileImageFilter.cpp |
diff --git a/src/effects/SkTileImageFilter.cpp b/src/effects/SkTileImageFilter.cpp |
index bebf8f01a2707fb591e04de6040d47fabf57e565..04c62d05740e864b5da18e2c913a1673808bab8b 100644 |
--- a/src/effects/SkTileImageFilter.cpp |
+++ b/src/effects/SkTileImageFilter.cpp |
@@ -36,8 +36,7 @@ bool SkTileImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src, |
SkRect dstRect; |
ctx.ctm().mapRect(&dstRect, fDstRect); |
- SkIRect dstIRect; |
- dstRect.roundOut(&dstIRect); |
+ const SkIRect dstIRect = dstRect.roundOut(); |
int w = dstIRect.width(); |
int h = dstIRect.height(); |
if (!fSrcRect.width() || !fSrcRect.height() || !w || !h) { |