Index: bench/GrResourceCacheBench.cpp |
diff --git a/bench/GrResourceCacheBench.cpp b/bench/GrResourceCacheBench.cpp |
index 39007c30b2a6a63da090f9c6e91cca5bef92738c..61ab4d0a73b52f4beeda6ffdd611aa1040fd2a8a 100644 |
--- a/bench/GrResourceCacheBench.cpp |
+++ b/bench/GrResourceCacheBench.cpp |
@@ -11,6 +11,7 @@ |
#if SK_SUPPORT_GPU |
#include "GrGpuResource.h" |
+#include "GrGpuResourcePriv.h" |
#include "GrContext.h" |
#include "GrGpu.h" |
#include "GrResourceCache.h" |
@@ -45,7 +46,7 @@ static void populate_cache(GrGpu* gpu, int resourceCount) { |
GrContentKey key; |
BenchResource::ComputeKey(i, &key); |
GrGpuResource* resource = SkNEW_ARGS(BenchResource, (gpu)); |
- resource->cacheAccess().setContentKey(key); |
+ resource->resourcePriv().setContentKey(key); |
resource->unref(); |
} |
} |