| Index: chrome/browser/memory_details.cc
|
| diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
|
| index 3aa27449ba53d98afc7a97b91468631b3604e071..0153e1af96a4dc403469f9a65c98f5b130df0874 100644
|
| --- a/chrome/browser/memory_details.cc
|
| +++ b/chrome/browser/memory_details.cc
|
| @@ -228,8 +228,9 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
|
| std::unique_ptr<content::RenderWidgetHostIterator> widget_it(
|
| RenderWidgetHost::GetRenderWidgetHosts());
|
| while (content::RenderWidgetHost* widget = widget_it->GetNextHost()) {
|
| - // Ignore processes that don't have a connection, such as crashed tabs.
|
| - if (!widget->GetProcess()->HasConnection())
|
| + // Ignore processes that don't have a connection, such as crashed tabs,
|
| + // or processes that are still launching.
|
| + if (!widget->GetProcess()->IsReady())
|
| continue;
|
| base::ProcessId pid = base::GetProcId(widget->GetProcess()->GetHandle());
|
| widgets_by_pid[pid].push_back(widget);
|
|
|