summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/storage_block.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-19 22:35:47 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-19 22:35:47 +0000
commit2b2d8447b83112a01dd61c2979b683a699d3d775 (patch)
tree94581a6f652dd119771156d2b8ecb27e82e199c1 /net/disk_cache/storage_block.h
parent51fff29dc2dae1a8be5ea107d2b13205510c4e46 (diff)
downloadchromium_src-2b2d8447b83112a01dd61c2979b683a699d3d775.zip
chromium_src-2b2d8447b83112a01dd61c2979b683a699d3d775.tar.gz
chromium_src-2b2d8447b83112a01dd61c2979b683a699d3d775.tar.bz2
Use appropriate version of delete in storage block
depending on how storage was allocated. B=5041 Review URL: http://codereview.chromium.org/15032/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/storage_block.h')
-rw-r--r--net/disk_cache/storage_block.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/disk_cache/storage_block.h b/net/disk_cache/storage_block.h
index b43d746..30e0bf9 100644
--- a/net/disk_cache/storage_block.h
+++ b/net/disk_cache/storage_block.h
@@ -63,6 +63,7 @@ class StorageBlock : public FileBlock {
private:
void AllocateData();
+ void DeleteData();
T* data_;
MappedFile* file_;