Index: base/task_scheduler/scheduler_worker_thread_unittest.cc |
diff --git a/base/task_scheduler/scheduler_worker_thread_unittest.cc b/base/task_scheduler/scheduler_worker_thread_unittest.cc |
index 9fb1ecc49d7ffe2b9b6a5a177319c16f37d336d3..88d9b23c8f2a5199d45245cd67a10df4752a12e5 100644 |
--- a/base/task_scheduler/scheduler_worker_thread_unittest.cc |
+++ b/base/task_scheduler/scheduler_worker_thread_unittest.cc |
@@ -31,9 +31,11 @@ const size_t kNumSequencesPerTest = 150; |
class TaskSchedulerWorkerThreadTest : public testing::TestWithParam<size_t> { |
protected: |
TaskSchedulerWorkerThreadTest() |
- : main_entry_called_(true, false), |
+ : main_entry_called_(WaitableEvent::ResetPolicy::MANUAL, |
+ WaitableEvent::InitialState::NOT_SIGNALED), |
num_get_work_cv_(lock_.CreateConditionVariable()), |
- worker_thread_set_(true, false) {} |
+ worker_thread_set_(WaitableEvent::ResetPolicy::MANUAL, |
+ WaitableEvent::InitialState::NOT_SIGNALED) {} |
void SetUp() override { |
worker_thread_ = SchedulerWorkerThread::Create( |