Index: src/effects/SkGpuBlurUtils.cpp |
diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp |
index 975b7047cefc7daa819c9d950225d4ee2cbfb831..23128e0ccabb83ecac6df0d3ed6844a0ebda2e3d 100644 |
--- a/src/effects/SkGpuBlurUtils.cpp |
+++ b/src/effects/SkGpuBlurUtils.cpp |
@@ -226,8 +226,7 @@ GrTexture* GaussianBlur(GrContext* context, |
SkTSwap(dstTexture, tempTexture); |
} |
- SkIRect srcIRect; |
- srcRect.roundOut(&srcIRect); |
+ const SkIRect srcIRect = srcRect.roundOut(); |
// For really small blurs(Certainly no wider than 5x5 on desktop gpus) it is faster to just |
// launch a single non separable kernel vs two launches |