Index: include/gpu/GrGpuResource.h |
diff --git a/include/gpu/GrGpuResource.h b/include/gpu/GrGpuResource.h |
index 4ffe17e739306476a26c8941dca709d6fafcf0e5..d3341d9bea55f78d4c5cdc9470d1ed208059a166 100644 |
--- a/include/gpu/GrGpuResource.h |
+++ b/include/gpu/GrGpuResource.h |
@@ -172,7 +172,7 @@ public: |
*/ |
virtual size_t gpuMemorySize() const = 0; |
- void setCacheEntry(GrResourceCacheEntry* cacheEntry) { fCacheEntry = cacheEntry; } |
+ bool setCacheEntry(GrResourceCacheEntry* cacheEntry); |
GrResourceCacheEntry* getCacheEntry() const { return fCacheEntry; } |
bool isScratch() const; |