diff options
author | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-22 23:12:23 +0000 |
---|---|---|
committer | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-22 23:12:23 +0000 |
commit | a510d40d7bbad7debdd2d1d3f0cc50eb038ae530 (patch) | |
tree | 167fbb6a2831c652106beeecccf3df90949444da /net/http | |
parent | 788807a0b9b6fa8a141a45f031e3add358991dd3 (diff) | |
download | chromium_src-a510d40d7bbad7debdd2d1d3f0cc50eb038ae530.zip chromium_src-a510d40d7bbad7debdd2d1d3f0cc50eb038ae530.tar.gz chromium_src-a510d40d7bbad7debdd2d1d3f0cc50eb038ae530.tar.bz2 |
Remove redundant deinitialization code from HttpCache::Transaction.
R=rvargas@chromium.org
BUG=None
Review URL: https://chromiumcodereview.appspot.com/22438007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219141 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/http_cache_transaction.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc index 8d4a455..cd3be51 100644 --- a/net/http/http_cache_transaction.cc +++ b/net/http/http_cache_transaction.cc @@ -231,14 +231,6 @@ HttpCache::Transaction::~Transaction() { cache_->RemovePendingTransaction(this); } } - - // Cancel any outstanding callbacks before we drop our reference to the - // HttpCache. This probably isn't strictly necessary, but might as well. - weak_factory_.InvalidateWeakPtrs(); - - // We could still have a cache read or write in progress, so we just null the - // cache_ pointer to signal that we are dead. See DoCacheReadCompleted. - cache_.reset(); } int HttpCache::Transaction::WriteMetadata(IOBuffer* buf, int buf_len, |