| Index: src/gpu/GrContext.cpp
|
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
|
| index 94ad9644bc67394fd1558e7094753a0f06009e80..e238911f49da665c9eeef0e2da501509c615d791 100644
|
| --- a/src/gpu/GrContext.cpp
|
| +++ b/src/gpu/GrContext.cpp
|
| @@ -617,8 +617,9 @@ sk_sp<GrDrawContext> GrContextPriv::makeWrappedDrawContext(sk_sp<GrRenderTarget>
|
| sk_sp<SkColorSpace> colorSpace,
|
| const SkSurfaceProps* surfaceProps) {
|
| ASSERT_SINGLE_OWNER_PRIV
|
| - return fContext->drawingManager()->drawContext(std::move(rt), std::move(colorSpace),
|
| - surfaceProps);
|
| + return fContext->drawingManager()->makeDrawContext(std::move(rt),
|
| + std::move(colorSpace),
|
| + surfaceProps);
|
| }
|
|
|
| sk_sp<GrDrawContext> GrContextPriv::makeBackendTextureDrawContext(const GrBackendTextureDesc& desc,
|
| @@ -633,8 +634,8 @@ sk_sp<GrDrawContext> GrContextPriv::makeBackendTextureDrawContext(const GrBacken
|
| return nullptr;
|
| }
|
|
|
| - return fContext->drawingManager()->drawContext(sk_ref_sp(surface->asRenderTarget()),
|
| - std::move(colorSpace), props);
|
| + return fContext->drawingManager()->makeDrawContext(sk_ref_sp(surface->asRenderTarget()),
|
| + std::move(colorSpace), props);
|
| }
|
|
|
| sk_sp<GrDrawContext> GrContextPriv::makeBackendRenderTargetDrawContext(
|
| @@ -648,8 +649,9 @@ sk_sp<GrDrawContext> GrContextPriv::makeBackendRenderTargetDrawContext(
|
| return nullptr;
|
| }
|
|
|
| - return fContext->drawingManager()->drawContext(std::move(rt), std::move(colorSpace),
|
| - surfaceProps);
|
| + return fContext->drawingManager()->makeDrawContext(std::move(rt),
|
| + std::move(colorSpace),
|
| + surfaceProps);
|
| }
|
|
|
| sk_sp<GrDrawContext> GrContextPriv::makeBackendTextureAsRenderTargetDrawContext(
|
| @@ -664,8 +666,9 @@ sk_sp<GrDrawContext> GrContextPriv::makeBackendTextureAsRenderTargetDrawContext(
|
| return nullptr;
|
| }
|
|
|
| - return fContext->drawingManager()->drawContext(sk_ref_sp(surface->asRenderTarget()),
|
| - std::move(colorSpace), surfaceProps);
|
| + return fContext->drawingManager()->makeDrawContext(sk_ref_sp(surface->asRenderTarget()),
|
| + std::move(colorSpace),
|
| + surfaceProps);
|
| }
|
|
|
| sk_sp<GrDrawContext> GrContext::makeDrawContext(SkBackingFit fit,
|
|
|