| Index: storage/common/database/database_connections.cc
|
| diff --git a/storage/common/database/database_connections.cc b/storage/common/database/database_connections.cc
|
| index f6931d3942b71d599b2780bf07f513f2afd85b0c..bbc7afcbd74dc49be034758f4cfb096de5adfe25 100644
|
| --- a/storage/common/database/database_connections.cc
|
| +++ b/storage/common/database/database_connections.cc
|
| @@ -153,7 +153,9 @@ void DatabaseConnectionsWrapper::RemoveOpenConnection(
|
|
|
| bool DatabaseConnectionsWrapper::WaitForAllDatabasesToClose(
|
| base::TimeDelta timeout) {
|
| - base::WaitableEvent waitable_event(true, false);
|
| + base::WaitableEvent waitable_event(
|
| + base::WaitableEvent::ResetPolicy::MANUAL,
|
| + base::WaitableEvent::InitialState::NOT_SIGNALED);
|
| {
|
| base::AutoLock auto_lock(open_connections_lock_);
|
| if (open_connections_.IsEmpty())
|
|
|