summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/common/child_process_host.cc3
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.";