Index: base/files/file_path_watcher_unittest.cc |
diff --git a/base/files/file_path_watcher_unittest.cc b/base/files/file_path_watcher_unittest.cc |
index c85a50a42c707bbfea3de33f1deb49d069e911af..c35d4cf311003e1158c5de4c6efa0450f3f18d86 100644 |
--- a/base/files/file_path_watcher_unittest.cc |
+++ b/base/files/file_path_watcher_unittest.cc |
@@ -215,7 +215,8 @@ bool FilePathWatcherTest::SetupWatch(const FilePath& target, |
FilePathWatcher* watcher, |
TestDelegateBase* delegate, |
bool recursive_watch) { |
- base::WaitableEvent completion(false, false); |
+ base::WaitableEvent completion(WaitableEvent::ResetPolicy::AUTOMATIC, |
+ WaitableEvent::InitialState::NOT_SIGNALED); |
bool result; |
file_thread_.task_runner()->PostTask( |
FROM_HERE, base::Bind(SetupWatchCallback, target, watcher, delegate, |