| Index: src/gpu/GrLayerCache.cpp
|
| diff --git a/src/gpu/GrLayerCache.cpp b/src/gpu/GrLayerCache.cpp
|
| index 1e09d0e92d8f457f5b8ad1a52aed020c12bd034b..aea1c9b30f9f737dbc7a3b82dc2cfbddf688c958 100644
|
| --- a/src/gpu/GrLayerCache.cpp
|
| +++ b/src/gpu/GrLayerCache.cpp
|
| @@ -248,12 +248,12 @@ bool GrLayerCache::lock(GrCachedLayer* layer, const GrSurfaceDesc& desc, bool* n
|
| }
|
|
|
| // TODO: make the test for exact match depend on the image filters themselves
|
| - GrContext::ScratchTexMatch usage = GrContext::kApprox_ScratchTexMatch;
|
| + GrTextureProvider::ScratchTexMatch usage = GrTextureProvider::kApprox_ScratchTexMatch;
|
| if (layer->fFilter) {
|
| - usage = GrContext::kExact_ScratchTexMatch;
|
| + usage = GrTextureProvider::kExact_ScratchTexMatch;
|
| }
|
|
|
| - SkAutoTUnref<GrTexture> tex(fContext->refScratchTexture(desc, usage));
|
| + SkAutoTUnref<GrTexture> tex(fContext->textureProvider()->refScratchTexture(desc, usage));
|
| if (!tex) {
|
| return false;
|
| }
|
|
|