| Index: src/gpu/GrGpu.cpp
|
| diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
|
| index d23d4524a968168533ca36a3f13dc506c6e4a60e..eef965e5b61f4353f665d2652c506829b5c05ad9 100644
|
| --- a/src/gpu/GrGpu.cpp
|
| +++ b/src/gpu/GrGpu.cpp
|
| @@ -12,6 +12,7 @@
|
| #include "GrBufferAllocPool.h"
|
| #include "GrContext.h"
|
| #include "GrDrawTargetCaps.h"
|
| +#include "GrGpuResourcePriv.h"
|
| #include "GrIndexBuffer.h"
|
| #include "GrResourceCache.h"
|
| #include "GrStencilBuffer.h"
|
| @@ -72,7 +73,7 @@ GrTexture* GrGpu::createTexture(const GrSurfaceDesc& desc, bool budgeted,
|
| }
|
| }
|
| if (!this->caps()->reuseScratchTextures() && !isRT) {
|
| - tex->cacheAccess().removeScratchKey();
|
| + tex->resourcePriv().removeScratchKey();
|
| }
|
| if (tex) {
|
| fStats.incTextureCreates();
|
|
|