Index: src/effects/SkGpuBlurUtils.cpp |
diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp |
index 2d836842728a3a9bb8c8d84e92e0a60f53cdcc00..975b7047cefc7daa819c9d950225d4ee2cbfb831 100644 |
--- a/src/effects/SkGpuBlurUtils.cpp |
+++ b/src/effects/SkGpuBlurUtils.cpp |
@@ -162,7 +162,7 @@ GrTexture* GaussianBlur(GrContext* context, |
SkRect srcRect(rect); |
scale_rect(&srcRect, 1.0f / scaleFactorX, 1.0f / scaleFactorY); |
- srcRect.roundOut(); |
+ srcRect.roundOut(&srcRect); |
scale_rect(&srcRect, static_cast<float>(scaleFactorX), |
static_cast<float>(scaleFactorY)); |