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

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 Created 4 years, 1 month 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 | « chrome/common/render_messages.h ('k') | chrome/renderer/chrome_render_thread_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 893b876623d62fe4fe5594db19ec467024f24e22..a068dc62f00f7cccf9076a8719d98acaf00d3671 100644
--- a/chrome/common/resource_usage_reporter_type_converters.cc
+++ b/chrome/common/resource_usage_reporter_type_converters.cc
@@ -18,7 +18,6 @@ chrome::mojom::ResourceTypeStatPtr StatToMojo(
chrome::mojom::ResourceTypeStat::New();
stat->count = obj.count;
stat->size = obj.size;
- stat->live_size = obj.liveSize;
stat->decoded_size = obj.decodedSize;
return stat;
}
@@ -28,7 +27,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;
}
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/chrome_render_thread_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698