Index: src/gpu/gl/GrGLGpu.cpp |
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp |
index 21d2f6327bc90915ddd036515d04dd92dbf1eee9..5813d5d0f604e18a5756fd5196b0cb4817fa623d 100644 |
--- a/src/gpu/gl/GrGLGpu.cpp |
+++ b/src/gpu/gl/GrGLGpu.cpp |
@@ -9,7 +9,7 @@ |
#include "GrGLGpu.h" |
#include "GrGLStencilBuffer.h" |
#include "GrGLTextureRenderTarget.h" |
-#include "GrGpuResourceCacheAccess.h" |
+#include "GrGpuResourcePriv.h" |
#include "GrPipeline.h" |
#include "GrSurfacePriv.h" |
#include "GrTemplates.h" |
@@ -1186,7 +1186,7 @@ bool GrGLGpu::createStencilBufferForRenderTarget(GrRenderTarget* rt, bool budget |
} |
// Remove the scratch key from this resource so we don't grab it from the cache ever |
// again. |
- sb->cacheAccess().removeScratchKey(); |
+ sb->resourcePriv().removeScratchKey(); |
// Set this to 0 since we handed the valid ID off to the failed stencil buffer resource. |
sbDesc.fRenderbufferID = 0; |
} |