| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 7741c3884288bc29f918dcc91df8afa0020fdd04..7776107508123e68a6945bfceae25aa9ab6dadcc 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -223,7 +223,9 @@ void BlockFileThreadOnDirectoryCreate(base::WaitableEvent* done_creating) {
|
| void CreateProfileDirectory(base::SequencedTaskRunner* sequenced_task_runner,
|
| const base::FilePath& path,
|
| bool create_readme) {
|
| - base::WaitableEvent* done_creating = new base::WaitableEvent(false, false);
|
| + base::WaitableEvent* done_creating =
|
| + new base::WaitableEvent(base::WaitableEvent::ResetPolicy::AUTOMATIC,
|
| + base::WaitableEvent::InitialState::NOT_SIGNALED);
|
| sequenced_task_runner->PostTask(
|
| FROM_HERE, base::Bind(&CreateDirectoryAndSignal, path, done_creating,
|
| create_readme));
|
|
|