Index: src/gpu/GrBlurUtils.cpp |
diff --git a/src/gpu/GrBlurUtils.cpp b/src/gpu/GrBlurUtils.cpp |
index 48aa28be707e95bfe3d42c94a5fe968a6b8b3884..441e56631c5e3be3a0b58f3295f4336f3175b58e 100644 |
--- a/src/gpu/GrBlurUtils.cpp |
+++ b/src/gpu/GrBlurUtils.cpp |
@@ -109,12 +109,12 @@ static sk_sp<GrTexture> create_mask_GPU(GrContext* context, |
config = kAlpha_8_GrPixelConfig; |
} |
- sk_sp<GrDrawContext> drawContext(context->newDrawContext(SkBackingFit::kApprox, |
- maskRect.width(), |
- maskRect.height(), |
- config, |
- nullptr, |
- sampleCnt)); |
+ sk_sp<GrDrawContext> drawContext(context->makeDrawContext(SkBackingFit::kApprox, |
+ maskRect.width(), |
+ maskRect.height(), |
+ config, |
+ nullptr, |
+ sampleCnt)); |
if (!drawContext) { |
return nullptr; |
} |