Index: ipc/ipc_sync_message_filter.cc |
diff --git a/ipc/ipc_sync_message_filter.cc b/ipc/ipc_sync_message_filter.cc |
index 6504aee7ceb42fd9c557ccf805c31820d820340e..e917655cd85912b15210818516433c04cbeefa98 100644 |
--- a/ipc/ipc_sync_message_filter.cc |
+++ b/ipc/ipc_sync_message_filter.cc |
@@ -30,7 +30,9 @@ bool SyncMessageFilter::Send(Message* message) { |
return true; |
} |
- base::WaitableEvent done_event(true, false); |
+ base::WaitableEvent done_event( |
+ base::WaitableEvent::ResetPolicy::MANUAL, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED); |
PendingSyncMsg pending_message( |
SyncMessage::GetMessageId(*message), |
static_cast<SyncMessage*>(message)->GetReplyDeserializer(), |