Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index 49278254c2e6b04805391c9870cd9037975058d2..bf6fa965401dbceaeb4544d3de9955113f89b265 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -281,10 +281,10 @@ sk_sp<SkSpecialImage> SkImageFilter::DrawWithFP(GrContext* context, |
paint.addColorFragmentProcessor(std::move(fp)); |
paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
- sk_sp<GrDrawContext> drawContext(context->newDrawContext(SkBackingFit::kApprox, |
- bounds.width(), bounds.height(), |
- kRGBA_8888_GrPixelConfig, |
- std::move(colorSpace))); |
+ sk_sp<GrDrawContext> drawContext(context->makeDrawContext(SkBackingFit::kApprox, |
+ bounds.width(), bounds.height(), |
+ kRGBA_8888_GrPixelConfig, |
+ std::move(colorSpace))); |
if (!drawContext) { |
return nullptr; |
} |