diff options
Diffstat (limited to 'chrome/browser/browser_shutdown.cc')
-rw-r--r-- | chrome/browser/browser_shutdown.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/browser_shutdown.cc b/chrome/browser/browser_shutdown.cc index d3530bb..120bcaf 100644 --- a/chrome/browser/browser_shutdown.cc +++ b/chrome/browser/browser_shutdown.cc @@ -75,11 +75,8 @@ void OnShutdownStarting(ShutdownType type) { for (RenderProcessHost::iterator i(RenderProcessHost::AllHostsIterator()); !i.IsAtEnd(); i.Advance()) { ++shutdown_num_processes_; - if (!i.GetCurrentValue()->FastShutdownIfPossible()) { - shutdown_num_processes_slow_++; - } - - hosts.Advance(); + if (!i.GetCurrentValue()->FastShutdownIfPossible()) + ++shutdown_num_processes_slow_; } } |