Index: src/gpu/GrClipMaskManager.cpp |
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp |
index 67c6f6eac30a547f3acc5967293792e622f5fdd8..b2b3603b9445bca32ae66271c811d7c3f86bcc18 100644 |
--- a/src/gpu/GrClipMaskManager.cpp |
+++ b/src/gpu/GrClipMaskManager.cpp |
@@ -462,10 +462,10 @@ sk_sp<GrTexture> GrClipMaskManager::CreateAlphaClipMask(GrContext* context, |
config = kAlpha_8_GrPixelConfig; |
} |
- sk_sp<GrDrawContext> dc(context->newDrawContext(SkBackingFit::kApprox, |
- clipSpaceIBounds.width(), |
- clipSpaceIBounds.height(), |
- config, nullptr)); |
+ sk_sp<GrDrawContext> dc(context->makeDrawContext(SkBackingFit::kApprox, |
+ clipSpaceIBounds.width(), |
+ clipSpaceIBounds.height(), |
+ config, nullptr)); |
if (!dc) { |
return nullptr; |
} |