Index: src/effects/SkXfermodeImageFilter.cpp |
diff --git a/src/effects/SkXfermodeImageFilter.cpp b/src/effects/SkXfermodeImageFilter.cpp |
index 6c3298d31c5506aa6b034c2ff3b5386c65b3855b..c939a4a5e96fb279e86a339812df78b41796f5be 100644 |
--- a/src/effects/SkXfermodeImageFilter.cpp |
+++ b/src/effects/SkXfermodeImageFilter.cpp |
@@ -241,10 +241,10 @@ sk_sp<SkSpecialImage> SkXfermodeImageFilter::filterImageGPU(SkSpecialImage* sour |
paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
- sk_sp<GrDrawContext> drawContext(context->newDrawContext(SkBackingFit::kApprox, |
- bounds.width(), bounds.height(), |
- kSkia8888_GrPixelConfig, |
- sk_ref_sp(source->getColorSpace()))); |
+ sk_sp<GrDrawContext> drawContext(context->makeDrawContext(SkBackingFit::kApprox, |
+ bounds.width(), bounds.height(), |
+ kSkia8888_GrPixelConfig, |
+ sk_ref_sp(source->getColorSpace()))); |
if (!drawContext) { |
return nullptr; |
} |