Index: src/gpu/GrGpuResourceCacheAccess.h |
diff --git a/src/gpu/GrGpuResourceCacheAccess.h b/src/gpu/GrGpuResourceCacheAccess.h |
index 52294cef90e99fa56bd0613f610510f727ffdb56..df0ca34bcad76a2c2667a057b6314a57679a34c9 100644 |
--- a/src/gpu/GrGpuResourceCacheAccess.h |
+++ b/src/gpu/GrGpuResourceCacheAccess.h |
@@ -23,10 +23,10 @@ class GrGpuResource::CacheAccess { |
private: |
/** |
* Is the resource currently cached as scratch? This means it is cached, has a valid scratch |
- * key, and does not have a content key. |
+ * key, and does not have a unique key. |
*/ |
bool isScratch() const { |
- return !fResource->getContentKey().isValid() && fResource->fScratchKey.isValid() && |
+ return !fResource->getUniqueKey().isValid() && fResource->fScratchKey.isValid() && |
fResource->resourcePriv().isBudgeted(); |
} |