Index: ipc/ipc_sync_message.cc |
diff --git a/ipc/ipc_sync_message.cc b/ipc/ipc_sync_message.cc |
index 884dd8029d5b32cdc3149917afe6aa40c5d1d2ca..7f9df7bd9bc0187ace28d3595381c431e00b635b 100644 |
--- a/ipc/ipc_sync_message.cc |
+++ b/ipc/ipc_sync_message.cc |
@@ -20,7 +20,9 @@ struct WaitableEventLazyInstanceTraits |
: public base::DefaultLazyInstanceTraits<base::WaitableEvent> { |
static base::WaitableEvent* New(void* instance) { |
// Use placement new to initialize our instance in our preallocated space. |
- return new (instance) base::WaitableEvent(true, true); |
+ return new (instance) |
+ base::WaitableEvent(base::WaitableEvent::ResetPolicy::MANUAL, |
+ base::WaitableEvent::InitialState::SIGNALED); |
} |
}; |