| Index: storage/browser/quota/quota_manager.cc
|
| diff --git a/storage/browser/quota/quota_manager.cc b/storage/browser/quota/quota_manager.cc
|
| index 5000061d7d76ade310b6d9e653dbc1e314427d93..cb1add8c6d984301c9bba020561a5adce77fbeb2 100644
|
| --- a/storage/browser/quota/quota_manager.cc
|
| +++ b/storage/browser/quota/quota_manager.cc
|
| @@ -1282,8 +1282,8 @@ void QuotaManager::RemoveStorageObserverForFilter(
|
|
|
| QuotaManager::~QuotaManager() {
|
| proxy_->manager_ = NULL;
|
| - std::for_each(clients_.begin(), clients_.end(),
|
| - std::mem_fun(&QuotaClient::OnQuotaManagerDestroyed));
|
| + for (auto* client : clients_)
|
| + client->OnQuotaManagerDestroyed();
|
| if (database_)
|
| db_thread_->DeleteSoon(FROM_HERE, database_.release());
|
| }
|
|
|