diff options
Diffstat (limited to 'chrome/browser/memory_details.cc')
-rw-r--r-- | chrome/browser/memory_details.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc index 9953442a..f212698 100644 --- a/chrome/browser/memory_details.cc +++ b/chrome/browser/memory_details.cc @@ -92,8 +92,10 @@ void MemoryDetails::CollectChildInfoOnUIThread() { RenderProcessHost::AllHostsIterator()); !renderer_iter.IsAtEnd(); renderer_iter.Advance()) { DCHECK(renderer_iter.GetCurrentValue()); - if (process.pid != renderer_iter.GetCurrentValue()->process().pid()) + if (process.pid != + base::GetProcId(renderer_iter.GetCurrentValue()->GetHandle())) { continue; + } process.type = ChildProcessInfo::RENDER_PROCESS; // The RenderProcessHost may host multiple TabContents. Any // of them which contain diagnostics information make the whole |