Index: chrome/browser/memory_details_mac.cc |
diff --git a/chrome/browser/memory_details_mac.cc b/chrome/browser/memory_details_mac.cc |
index 08ca920bff222db350dc793d12ae1582ab0d4498..40fb326d608e4664594fc66d90d40634851dd9d5 100644 |
--- a/chrome/browser/memory_details_mac.cc |
+++ b/chrome/browser/memory_details_mac.cc |
@@ -57,9 +57,9 @@ void CollectProcessDataForChromeProcess( |
} |
} |
- std::unique_ptr<base::ProcessMetrics> metrics; |
- metrics.reset(base::ProcessMetrics::CreateProcessMetrics( |
- pid, content::BrowserChildProcessHost::GetPortProvider())); |
+ std::unique_ptr<base::ProcessMetrics> metrics = |
+ base::ProcessMetrics::CreateProcessMetrics( |
+ pid, content::BrowserChildProcessHost::GetPortProvider()); |
metrics->GetCommittedAndWorkingSetKBytes(&info.committed, &info.working_set); |
processes->push_back(info); |