Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index 9370a9fc932e9b027eca84477dbd869a94052a34..df4103cf064feab1bfb55152517652f801f4d79d 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -336,8 +336,8 @@ sk_sp<SkSpecialImage> SkDisplacementMapEffect::onFilterImage(SkSpecialImage* sou |
matrix.setTranslate(-SkIntToScalar(colorBounds.x()), -SkIntToScalar(colorBounds.y())); |
sk_sp<GrDrawContext> drawContext( |
- context->newDrawContext(SkBackingFit::kApprox, bounds.width(), bounds.height(), |
- kSkia8888_GrPixelConfig, sk_ref_sp(source->getColorSpace()))); |
+ context->makeDrawContext(SkBackingFit::kApprox, bounds.width(), bounds.height(), |
+ kSkia8888_GrPixelConfig, sk_ref_sp(source->getColorSpace()))); |
if (!drawContext) { |
return nullptr; |
} |