| Index: base/test/test_io_thread.cc | 
| diff --git a/base/test/test_io_thread.cc b/base/test/test_io_thread.cc | 
| index 48c1e16531640e8990f5d6b8a3b6490cb0d4aa5b..1fa041251cbd9ed16b5b723f93954e07d4c8785a 100644 | 
| --- a/base/test/test_io_thread.cc | 
| +++ b/base/test/test_io_thread.cc | 
| @@ -56,7 +56,8 @@ void TestIOThread::PostTask(const tracked_objects::Location& from_here, | 
|  | 
| void TestIOThread::PostTaskAndWait(const tracked_objects::Location& from_here, | 
| const base::Closure& task) { | 
| -  base::WaitableEvent event(false, false); | 
| +  base::WaitableEvent event(WaitableEvent::ResetPolicy::AUTOMATIC, | 
| +                            WaitableEvent::InitialState::NOT_SIGNALED); | 
| task_runner()->PostTask(from_here, | 
| base::Bind(&PostTaskAndWaitHelper, &event, task)); | 
| event.Wait(); | 
|  |