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

Unified Diff: chrome/browser/task_manager/sampling/task_group_sampler.cc

Issue 2786313002: Revert of Add new wired memory metric to memory-infra dumps. (Closed)
Patch Set: Created 3 years, 9 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/browser/task_manager/sampling/task_group_sampler.cc
diff --git a/chrome/browser/task_manager/sampling/task_group_sampler.cc b/chrome/browser/task_manager/sampling/task_group_sampler.cc
index ba9047115d197f6ea7b35a758e46da04d5974bb6..3a1afc1bc1c5224441b9d1fbd008318bde7692db 100644
--- a/chrome/browser/task_manager/sampling/task_group_sampler.cc
+++ b/chrome/browser/task_manager/sampling/task_group_sampler.cc
@@ -130,7 +130,7 @@
size_t shared_bytes = 0;
size_t resident_bytes = 0;
if (process_metrics_->GetMemoryBytes(&private_bytes, &shared_bytes,
- &resident_bytes, nullptr)) {
+ &resident_bytes)) {
memory_usage.private_bytes = static_cast<int64_t>(private_bytes);
memory_usage.shared_bytes = static_cast<int64_t>(shared_bytes);
memory_usage.physical_bytes = resident_bytes;
« no previous file with comments | « base/process/process_metrics_unittest.cc ('k') | components/tracing/common/process_metrics_memory_dump_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698