| Index: src/effects/SkAlphaThresholdFilter.cpp
|
| diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp
|
| index f2b74300db94d17d4f92755cd9f2e945114cd360..0871d2bc6e5acffd35abfcbc4921d62a9b827e33 100644
|
| --- a/src/effects/SkAlphaThresholdFilter.cpp
|
| +++ b/src/effects/SkAlphaThresholdFilter.cpp
|
| @@ -102,9 +102,9 @@ sk_sp<GrTexture> SkAlphaThresholdFilterImpl::createMaskTexture(GrContext* contex
|
| config = kRGBA_8888_GrPixelConfig;
|
| }
|
|
|
| - sk_sp<GrDrawContext> drawContext(context->newDrawContext(SkBackingFit::kApprox,
|
| - bounds.width(), bounds.height(),
|
| - config, nullptr));
|
| + sk_sp<GrDrawContext> drawContext(context->makeDrawContext(SkBackingFit::kApprox,
|
| + bounds.width(), bounds.height(),
|
| + config, nullptr));
|
| if (!drawContext) {
|
| return nullptr;
|
| }
|
|
|