Index: chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc |
diff --git a/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc b/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc |
index 43ac561da3adb2204388a4198ab37347fb604bb6..4211e7f6684c9f6755a22489d84d890b1fcb3676 100644 |
--- a/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc |
+++ b/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc |
@@ -282,7 +282,8 @@ class NativeBackendKWalletTest : public NativeBackendKWalletTestBase { |
// Let the DB thread run to completion of all current tasks. |
void RunDBThread() { |
- base::WaitableEvent event(false, false); |
+ base::WaitableEvent event(base::WaitableEvent::ResetPolicy::AUTOMATIC, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED); |
BrowserThread::PostTask(BrowserThread::DB, FROM_HERE, |
base::Bind(ThreadDone, &event)); |
event.Wait(); |