aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkGpuBlurUtils.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2014-11-18 18:06:45 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-18 18:06:45 -0800
commitd02cf2664d0e453a6ec57cddc7f09bfc07fd91db (patch)
tree5728b2301e6bac6f83e1c1cd350512896855d9ef /src/effects/SkGpuBlurUtils.cpp
parentd31985ecc8cdd3044b60b4572434324125d88276 (diff)
change roundOut() to take a dst, so we can use that signature to return IRect
BUG=skia: TBR=robertphilips Review URL: https://codereview.chromium.org/731373003
Diffstat (limited to 'src/effects/SkGpuBlurUtils.cpp')
-rw-r--r--src/effects/SkGpuBlurUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp
index 2d83684272..975b7047ce 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));