diff options
author | jar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-12 17:33:10 +0000 |
---|---|---|
committer | jar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-12 17:33:10 +0000 |
commit | a81f6540dc48b40e71493d6398a4838226770d27 (patch) | |
tree | 8853dfeee9a5bdd5a6e4ece672e1489facdea478 /net | |
parent | 6b7c52f448e35792e6755a999e2a3883790b5e6b (diff) | |
download | chromium_src-a81f6540dc48b40e71493d6398a4838226770d27.zip chromium_src-a81f6540dc48b40e71493d6398a4838226770d27.tar.gz chromium_src-a81f6540dc48b40e71493d6398a4838226770d27.tar.bz2 |
Remove overly aggressive assert
I was seeing this assertion when a filter translated broken data into a
meta-refresh (in the experimental SDCH filter decode).
r=mbelshe
Review URL: http://codereview.chromium.org/13771
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6895 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/url_request/url_request_job.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc index 6e969b2..98712a5 100644 --- a/net/url_request/url_request_job.cc +++ b/net/url_request/url_request_job.cc @@ -407,15 +407,6 @@ void URLRequestJob::NotifyDone(const URLRequestStatus &status) { // the response before getting here. DCHECK(has_handled_response_ || !status.is_success()); - // In the success case, we cannot send the NotifyDone now. It can only be - // sent after the request is completed, because otherwise we can get the - // NotifyDone() called while the delegate is still accessing the request. - // In the case of an error, we are fre - if (status.is_success()) { - // If there is data left in the filter, then something is probably wrong. - DCHECK(!FilterHasData()); - } - // As with NotifyReadComplete, we need to take care to notice if we were // destroyed during a delegate callback. if (request_) { |