Index: src/effects/SkBlurImageFilter.cpp |
diff --git a/src/effects/SkBlurImageFilter.cpp b/src/effects/SkBlurImageFilter.cpp |
index 0625d37a42a18c3b16539ebb11752add214a9b8e..39b58b856e730ba25d01d36d05aa613de7c81edb 100644 |
--- a/src/effects/SkBlurImageFilter.cpp |
+++ b/src/effects/SkBlurImageFilter.cpp |
@@ -120,13 +120,12 @@ sk_sp<SkSpecialImage> SkBlurImageFilter::onFilterImage(SkSpecialImage* source, |
offset->fY = dstBounds.fTop; |
inputBounds.offset(-inputOffset); |
dstBounds.offset(-inputOffset); |
- SkRect inputBoundsF(SkRect::Make(inputBounds)); |
sk_sp<GrDrawContext> drawContext(SkGpuBlurUtils::GaussianBlur( |
context, |
inputTexture.get(), |
source->props().isGammaCorrect(), |
- SkRect::Make(dstBounds), |
- &inputBoundsF, |
+ dstBounds, |
+ &inputBounds, |
sigma.x(), |
sigma.y())); |
if (!drawContext) { |