Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(783)

Unified Diff: Source/core/fetch/MemoryCache.h

Issue 1278403007: [tracing] Fix accounting of WebCache memory statistics (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@oilpan_light
Patch Set: Changing internal api to use size_t. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/web/WebCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/MemoryCache.h
diff --git a/Source/core/fetch/MemoryCache.h b/Source/core/fetch/MemoryCache.h
index 27b44519c31d7d31122f0585e4eb28d659bd13f1..d7c4465aec6ad6ba0a286427463ac698aceb2107 100644
--- a/Source/core/fetch/MemoryCache.h
+++ b/Source/core/fetch/MemoryCache.h
@@ -137,14 +137,14 @@ public:
DECLARE_TRACE();
struct TypeStatistic {
- int count;
- int size;
- int liveSize;
- int decodedSize;
- int encodedSize;
- int encodedSizeDuplicatedInDataURLs;
- int purgeableSize;
- int purgedSize;
+ size_t count;
+ size_t size;
+ size_t liveSize;
+ size_t decodedSize;
+ size_t encodedSize;
+ size_t encodedSizeDuplicatedInDataURLs;
+ size_t purgeableSize;
+ size_t purgedSize;
TypeStatistic()
: count(0)
« no previous file with comments | « no previous file | Source/web/WebCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698