summaryrefslogtreecommitdiffstats
path: root/net/disk_cache
diff options
context:
space:
mode:
authorkhorimoto@chromium.org <khorimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-28 01:19:16 +0000
committerkhorimoto@chromium.org <khorimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-28 01:19:16 +0000
commit4e7162d825a698a3a28b0fb99ccca315f1c4252a (patch)
tree49c81828ac6ec6021cc86252fd71e974ea864460 /net/disk_cache
parentd18cfd6d548f7a7d0ebf4ad75f01a7dfce4ea44b (diff)
downloadchromium_src-4e7162d825a698a3a28b0fb99ccca315f1c4252a.zip
chromium_src-4e7162d825a698a3a28b0fb99ccca315f1c4252a.tar.gz
chromium_src-4e7162d825a698a3a28b0fb99ccca315f1c4252a.tar.bz2
Checked that |entry| and |entry->backend_| are non-NULL.
CID=103629 BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/9864055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129334 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
-rw-r--r--net/disk_cache/sparse_control.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/disk_cache/sparse_control.cc b/net/disk_cache/sparse_control.cc
index 166b7f7..4ce0f48 100644
--- a/net/disk_cache/sparse_control.cc
+++ b/net/disk_cache/sparse_control.cc
@@ -339,6 +339,7 @@ void SparseControl::DeleteChildren(EntryImpl* entry) {
entry->net_log().AddEvent(net::NetLog::TYPE_SPARSE_DELETE_CHILDREN, NULL);
+ DCHECK(entry && entry->backend_);
ChildrenDeleter* deleter = new ChildrenDeleter(entry->backend_,
entry->GetKey());
// The object will self destruct when finished.