| Index: chrome/browser/sync/test/integration/bookmarks_helper.cc
|
| diff --git a/chrome/browser/sync/test/integration/bookmarks_helper.cc b/chrome/browser/sync/test/integration/bookmarks_helper.cc
|
| index 264691a6bbe6b29faf38e91d7fc99c6193525953..0e2549032ff99f7e657485f62c095f2f4416cb51 100644
|
| --- a/chrome/browser/sync/test/integration/bookmarks_helper.cc
|
| +++ b/chrome/browser/sync/test/integration/bookmarks_helper.cc
|
| @@ -317,7 +317,8 @@ void WaitForHistoryToProcessPendingTasks() {
|
| Profile* profile = profiles_which_need_to_wait[i];
|
| history::HistoryService* history_service =
|
| HistoryServiceFactory::GetForProfileWithoutCreating(profile);
|
| - base::WaitableEvent done(false, false);
|
| + base::WaitableEvent done(base::WaitableEvent::ResetPolicy::AUTOMATIC,
|
| + base::WaitableEvent::InitialState::NOT_SIGNALED);
|
| base::CancelableTaskTracker task_tracker;
|
| history_service->ScheduleDBTask(
|
| std::unique_ptr<history::HistoryDBTask>(new HistoryEmptyTask(&done)),
|
|
|