| Index: net/disk_cache/simple/simple_backend_impl.cc
|
| diff --git a/net/disk_cache/simple/simple_backend_impl.cc b/net/disk_cache/simple/simple_backend_impl.cc
|
| index 9f410ed46772c16c601af3314f5af3c37d725490..00f6d15e129b678cb46870ab132ef76857c6db98 100644
|
| --- a/net/disk_cache/simple/simple_backend_impl.cc
|
| +++ b/net/disk_cache/simple/simple_backend_impl.cc
|
| @@ -295,8 +295,8 @@ void SimpleBackendImpl::OnDoomComplete(uint64_t entry_hash) {
|
| to_run_closures.swap(it->second);
|
| entries_pending_doom_.erase(it);
|
|
|
| - std::for_each(to_run_closures.begin(), to_run_closures.end(),
|
| - std::mem_fun_ref(&Closure::Run));
|
| + for (auto& closure : to_run_closures)
|
| + closure.Run();
|
| }
|
|
|
| void SimpleBackendImpl::DoomEntries(std::vector<uint64_t>* entry_hashes,
|
|
|