From 2ac837a92d049c5bf89b77888ca2c80be0f260c2 Mon Sep 17 00:00:00 2001 From: "rvargas@google.com" Date: Wed, 17 Nov 2010 17:52:21 +0000 Subject: 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 --- net/http/http_cache.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'net/http/http_cache.cc') 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(data); - if (payload_size < 4) - return false; - Pickle pickle(data, len); return response_info->InitFromPickle(pickle, response_truncated); } -- cgit v1.1