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

Unified Diff: chrome/common/resource_usage_reporter_type_converters.cc

Issue 2435603002: [WeakMemoryCache] Remove dead/live distinction of Resource outside core/fetch (Closed)
Patch Set: Rebase, rename capacities to capacity Created 4 years, 2 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
Index: chrome/common/resource_usage_reporter_type_converters.cc
diff --git a/chrome/common/resource_usage_reporter_type_converters.cc b/chrome/common/resource_usage_reporter_type_converters.cc
index eec41953021921224975287175ddb42da846a4b4..c68d051301c094641192dcd6881d4299006c1d98 100644
--- a/chrome/common/resource_usage_reporter_type_converters.cc
+++ b/chrome/common/resource_usage_reporter_type_converters.cc
@@ -17,7 +17,6 @@ mojom::ResourceTypeStatPtr StatToMojo(
mojom::ResourceTypeStatPtr stat = mojom::ResourceTypeStat::New();
stat->count = obj.count;
stat->size = obj.size;
- stat->live_size = obj.liveSize;
stat->decoded_size = obj.decodedSize;
return stat;
}
@@ -27,7 +26,6 @@ blink::WebCache::ResourceTypeStat StatFromMojo(
blink::WebCache::ResourceTypeStat stat;
stat.count = base::saturated_cast<size_t>(obj.count);
stat.size = base::saturated_cast<size_t>(obj.size);
- stat.liveSize = base::saturated_cast<size_t>(obj.live_size);
stat.decodedSize = base::saturated_cast<size_t>(obj.decoded_size);
return stat;
}

Powered by Google App Engine
This is Rietveld 408576698