Chromium Code Reviews| Index: Source/web/WebCache.cpp |
| diff --git a/Source/web/WebCache.cpp b/Source/web/WebCache.cpp |
| index 1b6f1dadd034c5b902e06bf11183a14cd6f1abbd..fe08deaa66a2ba420f87bbb0146cb4101750debf 100644 |
| --- a/Source/web/WebCache.cpp |
| +++ b/Source/web/WebCache.cpp |
| @@ -44,6 +44,8 @@ static void ToResourceTypeStat(const MemoryCache::TypeStatistic& from, |
| to.size = static_cast<size_t>(from.size); |
| to.liveSize = static_cast<size_t>(from.liveSize); |
| to.decodedSize = static_cast<size_t>(from.decodedSize); |
| + to.purgeableSize = static_cast<size_t>(from.purgedSize); |
| + to.purgedSize = static_cast<size_t>(from.purgedSize); |
|
dcheng
2015/08/12 00:24:14
How come the core types don't use unsigned or size
ssid
2015/08/12 11:21:03
True, it should. Changed them now.
|
| } |
| void WebCache::setCapacities( |
| @@ -86,6 +88,7 @@ void WebCache::getResourceTypeStats(ResourceTypeStats* result) |
| ToResourceTypeStat(stats.scripts, result->scripts); |
| ToResourceTypeStat(stats.xslStyleSheets, result->xslStyleSheets); |
| ToResourceTypeStat(stats.fonts, result->fonts); |
| + ToResourceTypeStat(stats.other, result->other); |
| } else |
| memset(result, 0, sizeof(WebCache::ResourceTypeStats)); |
| } |