Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index cf9e2c3c9f9a77531b4ea751f87797e008146df0..befda793326bbb13410e3ce34772fad26ff0b3b2 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -335,7 +335,7 @@ sk_sp<SkSpecialImage> SkDisplacementMapEffect::onFilterImage(SkSpecialImage* sou |
SkMatrix matrix; |
matrix.setTranslate(-SkIntToScalar(colorBounds.x()), -SkIntToScalar(colorBounds.y())); |
- sk_sp<GrDrawContext> drawContext(context->newDrawContext(GrContext::kLoose_BackingFit, |
+ sk_sp<GrDrawContext> drawContext(context->newDrawContext(SkBackingFit::kApprox, |
bounds.width(), bounds.height(), |
kSkia8888_GrPixelConfig)); |
if (!drawContext) { |