summaryrefslogtreecommitdiffstats
path: root/chrome/browser/memory_details.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/memory_details.cc')
-rw-r--r--chrome/browser/memory_details.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
index afa01a8..fe58ec0 100644
--- a/chrome/browser/memory_details.cc
+++ b/chrome/browser/memory_details.cc
@@ -79,7 +79,7 @@ void MemoryDetails::CollectPluginInformation() {
continue;
PluginProcessInformation info;
- info.pid = process_util::GetProcId(plugin->process());
+ info.pid = base::GetProcId(plugin->process());
if (info.pid != 0) {
info.dll_path = plugin->dll_path();
plugins_.push_back(info);
@@ -129,9 +129,8 @@ void MemoryDetails::CollectProcessData() {
// Get Memory Information.
ProcessMemoryInformation info;
info.pid = process_list[index];
- scoped_ptr<process_util::ProcessMetrics> metrics;
- metrics.reset(
- process_util::ProcessMetrics::CreateProcessMetrics(handle));
+ scoped_ptr<base::ProcessMetrics> metrics;
+ metrics.reset(base::ProcessMetrics::CreateProcessMetrics(handle));
metrics->GetCommittedKBytes(&info.committed);
metrics->GetWorkingSetKBytes(&info.working_set);