Index: chrome/browser/password_manager/native_backend_gnome_x.cc |
diff --git a/chrome/browser/password_manager/native_backend_gnome_x.cc b/chrome/browser/password_manager/native_backend_gnome_x.cc |
index ded031e6053e3afb86159da548880481154ff1ed..75dde044a67a6ab0417d498c4412e2a350012ddb 100644 |
--- a/chrome/browser/password_manager/native_backend_gnome_x.cc |
+++ b/chrome/browser/password_manager/native_backend_gnome_x.cc |
@@ -281,7 +281,10 @@ const GnomeKeyringPasswordSchema kGnomeSchema = { |
// be used in parallel. |
class GKRMethod : public GnomeKeyringLoader { |
public: |
- GKRMethod() : event_(false, false), result_(GNOME_KEYRING_RESULT_CANCELLED) {} |
+ GKRMethod() |
+ : event_(base::WaitableEvent::ResetPolicy::AUTOMATIC, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED), |
+ result_(GNOME_KEYRING_RESULT_CANCELLED) {} |
// Action methods. These call gnome_keyring_* functions. Call from UI thread. |
// See GetProfileSpecificAppString() for more information on the app string. |