| Index: third_party/WebKit/public/web/WebCache.h
|
| diff --git a/third_party/WebKit/public/web/WebCache.h b/third_party/WebKit/public/web/WebCache.h
|
| index ce0df1b1b11ee99f4e28f6455e713ca0d97662f1..4fad5846d5918385469d68f6c51a059962f57e1e 100644
|
| --- a/third_party/WebKit/public/web/WebCache.h
|
| +++ b/third_party/WebKit/public/web/WebCache.h
|
| @@ -39,20 +39,14 @@ namespace blink {
|
| class WebCache {
|
| public:
|
| struct UsageStats {
|
| - // Capacities.
|
| - size_t minDeadCapacity;
|
| - size_t maxDeadCapacity;
|
| size_t capacity;
|
| - // Utilization.
|
| - size_t liveSize;
|
| - size_t deadSize;
|
| + size_t size;
|
| };
|
|
|
| // A struct mirroring blink::MemoryCache::TypeStatistic.
|
| struct ResourceTypeStat {
|
| size_t count;
|
| size_t size;
|
| - size_t liveSize;
|
| size_t decodedSize;
|
| };
|
|
|
| @@ -67,9 +61,7 @@ class WebCache {
|
| };
|
|
|
| // Sets the capacities of the resource cache, evicting objects as necessary.
|
| - BLINK_EXPORT static void setCapacities(size_t minDeadCapacity,
|
| - size_t maxDeadCapacity,
|
| - size_t capacity);
|
| + BLINK_EXPORT static void setCapacity(size_t);
|
|
|
| // Clears the cache (as much as possible; some resources may not be
|
| // cleared if they are actively referenced). Note that this method
|
|
|