Index: base/test/trace_event_analyzer_unittest.cc |
diff --git a/base/test/trace_event_analyzer_unittest.cc b/base/test/trace_event_analyzer_unittest.cc |
index e73dd65b069ac09da2d66c1cf1fb49f871890fc2..086cfc97d343bef7ab979a92e054f91e890c943a 100644 |
--- a/base/test/trace_event_analyzer_unittest.cc |
+++ b/base/test/trace_event_analyzer_unittest.cc |
@@ -60,7 +60,9 @@ void TraceEventAnalyzerTest::BeginTracing() { |
void TraceEventAnalyzerTest::EndTracing() { |
base::trace_event::TraceLog::GetInstance()->SetDisabled(); |
- base::WaitableEvent flush_complete_event(false, false); |
+ base::WaitableEvent flush_complete_event( |
+ base::WaitableEvent::ResetPolicy::AUTOMATIC, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED); |
base::trace_event::TraceLog::GetInstance()->Flush( |
base::Bind(&TraceEventAnalyzerTest::OnTraceDataCollected, |
base::Unretained(this), |