Index: base/test/thread_test_helper.cc |
diff --git a/base/test/thread_test_helper.cc b/base/test/thread_test_helper.cc |
index f238cee43bccccee48a26c2ac4dc2a5de212566c..97b6647a0aad7386c6468832fe92cddb2ee2fb65 100644 |
--- a/base/test/thread_test_helper.cc |
+++ b/base/test/thread_test_helper.cc |
@@ -16,7 +16,8 @@ ThreadTestHelper::ThreadTestHelper( |
scoped_refptr<SingleThreadTaskRunner> target_thread) |
: test_result_(false), |
target_thread_(std::move(target_thread)), |
- done_event_(false, false) {} |
+ done_event_(WaitableEvent::ResetPolicy::AUTOMATIC, |
+ WaitableEvent::InitialState::NOT_SIGNALED) {} |
bool ThreadTestHelper::Run() { |
if (!target_thread_->PostTask( |