Index: include/lazy/SkLruImageCache.h |
diff --git a/include/lazy/SkLruImageCache.h b/include/lazy/SkLruImageCache.h |
index 05d28150b0b3f9ffa83cf296b0da066e3e8f21fe..f655230a9328783fcb1bdbe0ed0aa356d1ed6019 100644 |
--- a/include/lazy/SkLruImageCache.h |
+++ b/include/lazy/SkLruImageCache.h |
@@ -25,7 +25,8 @@ public: |
virtual ~SkLruImageCache(); |
#ifdef SK_DEBUG |
- CacheStatus getCacheStatus(intptr_t ID) const SK_OVERRIDE; |
+ virtual MemoryStatus getMemoryStatus(intptr_t ID) const SK_OVERRIDE; |
+ virtual void purgeAllUnpinnedCaches() SK_OVERRIDE; |
#endif |
/** |
@@ -45,7 +46,7 @@ public: |
size_t getImageCacheUsed() const { return fRamUsed; } |
virtual void* allocAndPinCache(size_t bytes, intptr_t* ID) SK_OVERRIDE; |
- virtual void* pinCache(intptr_t ID) SK_OVERRIDE; |
+ virtual void* pinCache(intptr_t ID, SkImageCache::DataStatus*) SK_OVERRIDE; |
virtual void releaseCache(intptr_t ID) SK_OVERRIDE; |
virtual void throwAwayCache(intptr_t ID) SK_OVERRIDE; |
@@ -55,7 +56,7 @@ private: |
typedef SkTInternalLList<CachedPixels>::Iter Iter; |
#ifdef SK_DEBUG |
- // fMutex is mutable so that getCacheStatus can be const |
+ // fMutex is mutable so that getMemoryStatus can be const |
mutable |
#endif |
SkMutex fMutex; |