| Index: content/browser/browser_shutdown_profile_dumper.cc
|
| diff --git a/content/browser/browser_shutdown_profile_dumper.cc b/content/browser/browser_shutdown_profile_dumper.cc
|
| index 4330c6141ca755f1005e74d9c55b9fef7aa03e76..a1a57bdc6e14b8e3531c5593e0db66f49b762bf7 100644
|
| --- a/content/browser/browser_shutdown_profile_dumper.cc
|
| +++ b/content/browser/browser_shutdown_profile_dumper.cc
|
| @@ -57,7 +57,9 @@ void BrowserShutdownProfileDumper::WriteTracesToDisc() {
|
| // TraceLog::Flush() requires the calling thread to have a message loop.
|
| // As the message loop of the current thread may have quit, start another
|
| // thread for flushing the trace.
|
| - base::WaitableEvent flush_complete_event(false, false);
|
| + base::WaitableEvent flush_complete_event(
|
| + base::WaitableEvent::ResetPolicy::AUTOMATIC,
|
| + base::WaitableEvent::InitialState::NOT_SIGNALED);
|
| base::Thread flush_thread("browser_shutdown_trace_event_flush");
|
| flush_thread.Start();
|
| flush_thread.task_runner()->PostTask(
|
|
|