Index: chrome/browser/ui/crypto_module_delegate_nss.cc |
diff --git a/chrome/browser/ui/crypto_module_delegate_nss.cc b/chrome/browser/ui/crypto_module_delegate_nss.cc |
index b3a933b2cb783d96788f82caef1248de64f4745e..adc9388cee298cfe5d1f3d9333dbb90ee613e3f6 100644 |
--- a/chrome/browser/ui/crypto_module_delegate_nss.cc |
+++ b/chrome/browser/ui/crypto_module_delegate_nss.cc |
@@ -36,7 +36,8 @@ ChromeNSSCryptoModuleDelegate::ChromeNSSCryptoModuleDelegate( |
crypto::ScopedPK11Slot slot) |
: reason_(reason), |
server_(server), |
- event_(false, false), |
+ event_(base::WaitableEvent::ResetPolicy::AUTOMATIC, |
+ base::WaitableEvent::InitialState::NOT_SIGNALED), |
cancelled_(false), |
slot_(std::move(slot)) {} |