diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-29 22:35:32 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-29 22:35:32 +0000 |
commit | bee09dbef03f2db2391bbcc659770e11b486996e (patch) | |
tree | 820a5fc799e312634f7d9cf764af81cdb3c2ebc5 /chrome/common/child_process_host.cc | |
parent | f361715be1b1ff841f41d4438bea00f2f993a8ba (diff) | |
download | chromium_src-bee09dbef03f2db2391bbcc659770e11b486996e.zip chromium_src-bee09dbef03f2db2391bbcc659770e11b486996e.tar.gz chromium_src-bee09dbef03f2db2391bbcc659770e11b486996e.tar.bz2 |
Coverity: Initialize type_ in the constructor.
CID=2287
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/242065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_host.cc')
-rw-r--r-- | chrome/common/child_process_host.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/child_process_host.cc b/chrome/common/child_process_host.cc index f7fe2df..830d7e0 100644 --- a/chrome/common/child_process_host.cc +++ b/chrome/common/child_process_host.cc @@ -276,7 +276,8 @@ void ChildProcessHost::ListenerHook::OnChannelError() { } -ChildProcessHost::Iterator::Iterator() : all_(true) { +ChildProcessHost::Iterator::Iterator() + : all_(true), type_(UNKNOWN_PROCESS) { DCHECK(MessageLoop::current() == ChromeThread::GetMessageLoop(ChromeThread::IO)) << "ChildProcessInfo::Iterator must be used on the IO thread."; |