summaryrefslogtreecommitdiffstats
path: root/net/http/http_cache.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 17:52:21 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 17:52:21 +0000
commit2ac837a92d049c5bf89b77888ca2c80be0f260c2 (patch)
tree5882e0d239ff50c31df6a60b0b9c8d8c3415f48f /net/http/http_cache.cc
parentdbd178c344432405c898c7a7e5b8468cbe89f8d3 (diff)
downloadchromium_src-2ac837a92d049c5bf89b77888ca2c80be0f260c2.zip
chromium_src-2ac837a92d049c5bf89b77888ca2c80be0f260c2.tar.gz
chromium_src-2ac837a92d049c5bf89b77888ca2c80be0f260c2.tar.bz2
Http cache: Remove code used to track a crash.
BUG=56449 TEST=none Review URL: http://codereview.chromium.org/5124001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66461 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_cache.cc')
-rw-r--r--net/http/http_cache.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc
index 0372222..1342afa 100644
--- a/net/http/http_cache.cc
+++ b/net/http/http_cache.cc
@@ -405,14 +405,6 @@ void HttpCache::Suspend(bool suspend) {
bool HttpCache::ParseResponseInfo(const char* data, int len,
HttpResponseInfo* response_info,
bool* response_truncated) {
- // This block is here just to debug a Linux-only crash (bug 56449).
- // TODO(rvargas): Remove this.
- if (len < 4)
- return false;
- int payload_size = *reinterpret_cast<const int*>(data);
- if (payload_size < 4)
- return false;
-
Pickle pickle(data, len);
return response_info->InitFromPickle(pickle, response_truncated);
}