Index: src/gpu/GrGpuResource.cpp |
diff --git a/src/gpu/GrGpuResource.cpp b/src/gpu/GrGpuResource.cpp |
index 7f65af25d4e9c6431152bdbd1f76b0dfe1b1cc11..dbf5d8c2bbe18830e7f3b7133017906455240e39 100644 |
--- a/src/gpu/GrGpuResource.cpp |
+++ b/src/gpu/GrGpuResource.cpp |
@@ -9,6 +9,7 @@ |
#include "GrGpuResource.h" |
#include "GrResourceCache.h" |
#include "GrGpu.h" |
+#include "GrGpuResourcePriv.h" |
static inline GrResourceCache* get_resource_cache(GrGpu* gpu) { |
SkASSERT(gpu); |
@@ -94,7 +95,7 @@ bool GrGpuResource::setContentKey(const GrContentKey& key) { |
SkASSERT(key.isValid()); |
// Wrapped and uncached resources can never have a content key. |
- if (!this->cacheAccess().isBudgeted()) { |
+ if (!this->resourcePriv().isBudgeted()) { |
return false; |
} |