| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index d868bcb6bd3b9790143f79e6c6dd428495be6549..1521a9bee545037a3fda4efeeb700aa922cc9b27 100644
|
| --- a/src/gpu/GrDrawTarget.cpp
|
| +++ b/src/gpu/GrDrawTarget.cpp
|
| @@ -122,8 +122,8 @@ bool GrDrawTarget::setupDstReadIfNecessary(const GrPipelineBuilder& pipelineBuil
|
| desc.fWidth = copyRect.width();
|
| desc.fHeight = copyRect.height();
|
|
|
| - SkAutoTUnref<GrTexture> copy(
|
| - fContext->refScratchTexture(desc, GrContext::kApprox_ScratchTexMatch));
|
| + SkAutoTUnref<GrTexture> copy(fContext->textureProvider()->refScratchTexture(desc,
|
| + GrTextureProvider::kApprox_ScratchTexMatch));
|
|
|
| if (!copy) {
|
| SkDebugf("Failed to create temporary copy of destination texture.\n");
|
|
|