| Index: storage/common/database/database_connections.cc
|
| diff --git a/storage/common/database/database_connections.cc b/storage/common/database/database_connections.cc
|
| index b0b55de57eb7c973570746b58c564fe13201f6b7..afa9ee35acafb0820b2dc231f1914a6d56a4dbba 100644
|
| --- a/storage/common/database/database_connections.cc
|
| +++ b/storage/common/database/database_connections.cc
|
| @@ -169,7 +169,7 @@ void DatabaseConnectionsWrapper::RemoveOpenConnection(
|
| base::AutoLock auto_lock(open_connections_lock_);
|
| open_connections_.RemoveConnection(origin_identifier, database_name);
|
| if (waiting_for_dbs_to_close_ && open_connections_.IsEmpty())
|
| - base::MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->QuitWhenIdle();
|
| }
|
|
|
| } // namespace storage
|
|
|