Index: base/profiler/stack_sampling_profiler.cc |
diff --git a/base/profiler/stack_sampling_profiler.cc b/base/profiler/stack_sampling_profiler.cc |
index 82e454ddc4d83cd38a38fc7beb324286e2af2fb9..3d4979ca0bf49b9541737e23b4584e7d8b49c69a 100644 |
--- a/base/profiler/stack_sampling_profiler.cc |
+++ b/base/profiler/stack_sampling_profiler.cc |
@@ -120,7 +120,8 @@ StackSamplingProfiler::SamplingThread::SamplingThread( |
const CompletedCallback& completed_callback) |
: native_sampler_(std::move(native_sampler)), |
params_(params), |
- stop_event_(false, false), |
+ stop_event_(WaitableEvent::ResetPolicy::AUTOMATIC, |
+ WaitableEvent::InitialState::NOT_SIGNALED), |
completed_callback_(completed_callback) {} |
StackSamplingProfiler::SamplingThread::~SamplingThread() {} |