Index: src/gpu/GrResourceCache.h |
diff --git a/src/gpu/GrResourceCache.h b/src/gpu/GrResourceCache.h |
index 522641ba37c3ad0ff846951632b012c28ec65f7d..3e4ededc9e0c9eec5724f4c9d74bd1579ffed431 100644 |
--- a/src/gpu/GrResourceCache.h |
+++ b/src/gpu/GrResourceCache.h |
@@ -10,7 +10,7 @@ |
#define GrResourceCache_DEFINED |
#include "GrGpuResource.h" |
-#include "GrGpuResourceCacheAccess.h" |
+#include "GrGpuResourcePriv.h" |
#include "GrResourceKey.h" |
#include "SkMessageBus.h" |
#include "SkRefCnt.h" |
@@ -198,7 +198,7 @@ private: |
struct ScratchMapTraits { |
static const GrScratchKey& GetKey(const GrGpuResource& r) { |
- return r.cacheAccess().getScratchKey(); |
+ return r.resourcePriv().getScratchKey(); |
} |
static uint32_t Hash(const GrScratchKey& key) { return key.hash(); } |