Index: services/shell/runner/host/child_process_host.cc |
diff --git a/services/shell/runner/host/child_process_host.cc b/services/shell/runner/host/child_process_host.cc |
index f9cda1f85fd5923ca88027d58d40ac0262399b4d..b01ce96996e653fdb678432c1fe651380560d53b 100644 |
--- a/services/shell/runner/host/child_process_host.cc |
+++ b/services/shell/runner/host/child_process_host.cc |
@@ -50,9 +50,10 @@ ChildProcessHost::ChildProcessHost(base::TaskRunner* launch_process_runner, |
start_sandboxed_(start_sandboxed), |
target_(target), |
app_path_(app_path), |
- start_child_process_event_(false, false), |
- weak_factory_(this) { |
-} |
+ start_child_process_event_( |
+ base::WaitableEvent::ResetPolicy::AUTOMATIC, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED), |
+ weak_factory_(this) {} |
ChildProcessHost::~ChildProcessHost() { |
if (!app_path_.empty()) { |