summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorttuttle@chromium.org <ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-16 21:02:00 +0000
committerttuttle@chromium.org <ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-16 21:02:00 +0000
commit3ba2bf44c38687ced0b9d9c8dd5810593cb743bd (patch)
tree835715d66a76b0087a7d3cb56055291b332bf202 /net
parent4c5a957f8ecb9d17e89a40d4cf6368502a861872 (diff)
downloadchromium_src-3ba2bf44c38687ced0b9d9c8dd5810593cb743bd.zip
chromium_src-3ba2bf44c38687ced0b9d9c8dd5810593cb743bd.tar.gz
chromium_src-3ba2bf44c38687ced0b9d9c8dd5810593cb743bd.tar.bz2
Simple Cache: Rename it to pending_it in DoomEntryFromHash
BUG= Review URL: https://codereview.chromium.org/68533015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245316 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/disk_cache/simple/simple_backend_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/disk_cache/simple/simple_backend_impl.cc b/net/disk_cache/simple/simple_backend_impl.cc
index 7260857..5e8c3f2 100644
--- a/net/disk_cache/simple/simple_backend_impl.cc
+++ b/net/disk_cache/simple/simple_backend_impl.cc
@@ -565,13 +565,13 @@ int SimpleBackendImpl::DoomEntryFromHash(uint64 entry_hash,
Entry** entry = new Entry*();
scoped_ptr<Entry*> scoped_entry(entry);
- base::hash_map<uint64, std::vector<Closure> >::iterator it =
+ base::hash_map<uint64, std::vector<Closure> >::iterator pending_it =
entries_pending_doom_.find(entry_hash);
- if (it != entries_pending_doom_.end()) {
+ if (pending_it != entries_pending_doom_.end()) {
Callback<int(const net::CompletionCallback&)> operation =
base::Bind(&SimpleBackendImpl::DoomEntryFromHash,
base::Unretained(this), entry_hash);
- it->second.push_back(base::Bind(&RunOperationAndCallback,
+ pending_it->second.push_back(base::Bind(&RunOperationAndCallback,
operation, callback));
return net::ERR_IO_PENDING;
}