summaryrefslogtreecommitdiffstats
path: root/chrome/browser/memory_details.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 23:47:54 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 23:47:54 +0000
commitdc993e3cc843429dd2664878de3339a69f4dc7b8 (patch)
tree638486ad332ff6cc199c18aec20ec1c62806f9b4 /chrome/browser/memory_details.cc
parent4f4a13fdcca50a40cc0d761fe9bd00b643169992 (diff)
downloadchromium_src-dc993e3cc843429dd2664878de3339a69f4dc7b8.zip
chromium_src-dc993e3cc843429dd2664878de3339a69f4dc7b8.tar.gz
chromium_src-dc993e3cc843429dd2664878de3339a69f4dc7b8.tar.bz2
Fix single-process ui test failures from my previous change. The problem was that the wrong pid was being sent to RDH from RMF. It needs to be the fake pid for the in-process renderer.
BUG=8890 Review URL: http://codereview.chromium.org/42366 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12040 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/memory_details.cc')
-rw-r--r--chrome/browser/memory_details.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
index 6a64dd2..dfae8a2 100644
--- a/chrome/browser/memory_details.cc
+++ b/chrome/browser/memory_details.cc
@@ -70,7 +70,7 @@ void MemoryDetails::CollectChildInfoOnIOThread() {
// Collect the list of child processes.
for (ChildProcessHost::Iterator iter; !iter.Done(); ++iter) {
ProcessMemoryInformation info;
- info.pid = iter->pid();
+ info.pid = iter->GetProcessId();
if (!info.pid)
continue;