Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index 121a7fdc013a5eea116c629e9e99c20a1a71e045..2a0f078c053fd6ed0cc13577668090b7415a6c1c 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -487,7 +487,7 @@ |
SkASSERT(radius.width() > 0 || radius.height() > 0); |
if (radius.fWidth > 0) { |
- sk_sp<GrDrawContext> dstDrawContext(context->newDrawContext(SkBackingFit::kApprox, |
+ sk_sp<GrDrawContext> dstDrawContext(context->newDrawContext(GrContext::kLoose_BackingFit, |
rect.width(), rect.height(), |
kSkia8888_GrPixelConfig)); |
if (!dstDrawContext) { |
@@ -508,7 +508,7 @@ |
srcRect = dstRect; |
} |
if (radius.fHeight > 0) { |
- sk_sp<GrDrawContext> dstDrawContext(context->newDrawContext(SkBackingFit::kApprox, |
+ sk_sp<GrDrawContext> dstDrawContext(context->newDrawContext(GrContext::kLoose_BackingFit, |
rect.width(), rect.height(), |
kSkia8888_GrPixelConfig)); |
if (!dstDrawContext) { |