Index: src/effects/SkGpuBlurUtils.cpp |
diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp |
index ebb480d3dfb5e8d89d1f0f96c3c80ad99f85dad0..869cd76c5b7e74a0a9c2a74b6ec7b0353ebe7502 100644 |
--- a/src/effects/SkGpuBlurUtils.cpp |
+++ b/src/effects/SkGpuBlurUtils.cpp |
@@ -186,8 +186,7 @@ |
const SkIRect& dstBounds, |
const SkIRect* srcBounds, |
float sigmaX, |
- float sigmaY, |
- SkBackingFit fit) { |
+ float sigmaY) { |
SkASSERT(context); |
SkIRect clearRect; |
int scaleFactorX, radiusX; |
@@ -227,7 +226,7 @@ |
const int height = dstBounds.height(); |
const GrPixelConfig config = srcTexture->config(); |
- sk_sp<GrDrawContext> dstDrawContext(context->makeDrawContext(fit, |
+ sk_sp<GrDrawContext> dstDrawContext(context->makeDrawContext(SkBackingFit::kApprox, |
width, height, config, colorSpace, |
0, kDefault_GrSurfaceOrigin)); |
if (!dstDrawContext) { |
@@ -247,7 +246,7 @@ |
return dstDrawContext; |
} |
- sk_sp<GrDrawContext> tmpDrawContext(context->makeDrawContext(fit, |
+ sk_sp<GrDrawContext> tmpDrawContext(context->makeDrawContext(SkBackingFit::kApprox, |
width, height, config, colorSpace, |
0, kDefault_GrSurfaceOrigin)); |
if (!tmpDrawContext) { |