| Index: src/gpu/GrTextureParamsAdjuster.cpp
|
| diff --git a/src/gpu/GrTextureParamsAdjuster.cpp b/src/gpu/GrTextureParamsAdjuster.cpp
|
| index c2f220c582f753c0834e343efda61b0ddec07d5b..4456980e858f478cc94be1bff90888a3f7b6b320 100644
|
| --- a/src/gpu/GrTextureParamsAdjuster.cpp
|
| +++ b/src/gpu/GrTextureParamsAdjuster.cpp
|
| @@ -60,8 +60,8 @@ static GrTexture* copy_on_gpu(GrTexture* inputTexture, const SkIRect* subset,
|
| }
|
| }
|
|
|
| - sk_sp<GrDrawContext> copyDC = context->newDrawContext(SkBackingFit::kExact, copyParams.fWidth,
|
| - copyParams.fHeight, config, nullptr);
|
| + sk_sp<GrDrawContext> copyDC = context->makeDrawContext(SkBackingFit::kExact, copyParams.fWidth,
|
| + copyParams.fHeight, config, nullptr);
|
| if (!copyDC) {
|
| return nullptr;
|
| }
|
|
|