summaryrefslogtreecommitdiffstats
path: root/chromium/base/profiler/stack_sampling_profiler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/profiler/stack_sampling_profiler.cc')
-rw-r--r--chromium/base/profiler/stack_sampling_profiler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/base/profiler/stack_sampling_profiler.cc b/chromium/base/profiler/stack_sampling_profiler.cc
index 82e454ddc4d..3d4979ca0bf 100644
--- a/chromium/base/profiler/stack_sampling_profiler.cc
+++ b/chromium/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() {}