summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_shutdown.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-02 20:44:15 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-02 20:44:15 +0000
commite3d64e11f5aae2ebd5473872497aeff776e6a8b5 (patch)
tree378ffcbc3c058b23248b3d887dfa241f91e75581 /chrome/browser/browser_shutdown.cc
parenteeb090c9cb78b3f4808ca5479c1ca8cf62082bee (diff)
downloadchromium_src-e3d64e11f5aae2ebd5473872497aeff776e6a8b5.zip
chromium_src-e3d64e11f5aae2ebd5473872497aeff776e6a8b5.tar.gz
chromium_src-e3d64e11f5aae2ebd5473872497aeff776e6a8b5.tar.bz2
Fix compile failure due to bad merge.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_shutdown.cc')
-rw-r--r--chrome/browser/browser_shutdown.cc7
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_;
}
}