diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-04 03:03:13 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-04 03:03:13 +0000 |
commit | bff6ef77683a85e61c5a916ade6c2f85b29e6f62 (patch) | |
tree | 7bec60926c88cc6cbc59ce4e0ecbb0974ce1766d /chrome | |
parent | 847dda8ade71638fae9596d4b5102667c29fad1e (diff) | |
download | chromium_src-bff6ef77683a85e61c5a916ade6c2f85b29e6f62.zip chromium_src-bff6ef77683a85e61c5a916ade6c2f85b29e6f62.tar.gz chromium_src-bff6ef77683a85e61c5a916ade6c2f85b29e6f62.tar.bz2 |
Fix crashes in WorkerProcessHost. The wrong iterator was being incremented.
TBR=nsylvain
Review URL: http://codereview.chromium.org/39107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10858 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/common/child_process_host.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/child_process_host.cc b/chrome/common/child_process_host.cc index 15d8daa..39e7661 100644 --- a/chrome/common/child_process_host.cc +++ b/chrome/common/child_process_host.cc @@ -167,7 +167,7 @@ ChildProcessHost::Iterator::Iterator(ProcessType type) "ChildProcessInfo::Iterator must be used on the IO thread."; iterator_ = Singleton<ChildProcessList>::get()->begin(); if (!Done() && (*iterator_)->type() != type_) - iterator_++; + ++(*this); } ChildProcessInfo* ChildProcessHost::Iterator::operator++() { |