Index: base/threading/platform_thread_unittest.cc |
diff --git a/base/threading/platform_thread_unittest.cc b/base/threading/platform_thread_unittest.cc |
index 82221e11009a2490b93cb6bff21182913bcb1548..4b1228031f9948dc074a22a882ea038726b77b2a 100644 |
--- a/base/threading/platform_thread_unittest.cc |
+++ b/base/threading/platform_thread_unittest.cc |
@@ -73,8 +73,10 @@ class FunctionTestThread : public PlatformThread::Delegate { |
public: |
FunctionTestThread() |
: thread_id_(kInvalidThreadId), |
- termination_ready_(true, false), |
- terminate_thread_(true, false), |
+ termination_ready_(WaitableEvent::ResetPolicy::MANUAL, |
+ WaitableEvent::InitialState::NOT_SIGNALED), |
+ terminate_thread_(WaitableEvent::ResetPolicy::MANUAL, |
+ WaitableEvent::InitialState::NOT_SIGNALED), |
done_(false) {} |
~FunctionTestThread() override { |
EXPECT_TRUE(terminate_thread_.IsSignaled()) |