Index: ipc/ipc_send_fds_test.cc |
diff --git a/ipc/ipc_send_fds_test.cc b/ipc/ipc_send_fds_test.cc |
index 9480d0e62320e1c3e7973b1beb1682e9b9b7696c..3b0e7b30521dfd717231461d8258ee4e11239a75 100644 |
--- a/ipc/ipc_send_fds_test.cc |
+++ b/ipc/ipc_send_fds_test.cc |
@@ -269,8 +269,10 @@ class PipeChannelHelper { |
} |
~PipeChannelHelper() { |
- base::WaitableEvent a(true, false); |
- base::WaitableEvent b(true, false); |
+ base::WaitableEvent a(base::WaitableEvent::ResetPolicy::MANUAL, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED); |
+ base::WaitableEvent b(base::WaitableEvent::ResetPolicy::MANUAL, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED); |
in_thread_->task_runner()->PostTask( |
FROM_HERE, base::Bind(&PipeChannelHelper::DestroyChannel, &in, &a)); |
out_thread_->task_runner()->PostTask( |
@@ -315,7 +317,9 @@ class PipeChannelHelper { |
// http://crbug.com/298276 |
class IPCMultiSendingFdsTest : public testing::Test { |
public: |
- IPCMultiSendingFdsTest() : received_(true, false) {} |
+ IPCMultiSendingFdsTest() |
+ : received_(base::WaitableEvent::ResetPolicy::MANUAL, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED) {} |
void Producer(PipeChannelHelper* dest, |
base::Thread* t, |