diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-31 16:09:08 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-31 16:09:08 +0000 |
commit | 5a2b69999950076443aa3c9c1def3c676eeeb870 (patch) | |
tree | 7292407dee54cb54bebfa7d9785afb82c6dac0ec /webkit | |
parent | 10671368043e551d7acd7b3f908c6de2e6e72f7f (diff) | |
download | chromium_src-5a2b69999950076443aa3c9c1def3c676eeeb870.zip chromium_src-5a2b69999950076443aa3c9c1def3c676eeeb870.tar.gz chromium_src-5a2b69999950076443aa3c9c1def3c676eeeb870.tar.bz2 |
Remove incorrect assertion. This used to say
DCHECK(!is_asynchronous_load_suspended || request_info_);
When I made the request info a POD structure that's copied I should have just remove this check since that's really what it was testing.
TEST=manual, no extra DCHECK hit
BUG=none
Review URL: http://codereview.chromium.org/7810008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98976 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/plugins/ppapi/ppb_url_loader_impl.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/webkit/plugins/ppapi/ppb_url_loader_impl.cc b/webkit/plugins/ppapi/ppb_url_loader_impl.cc index edc9207..b2a6a2bb 100644 --- a/webkit/plugins/ppapi/ppb_url_loader_impl.cc +++ b/webkit/plugins/ppapi/ppb_url_loader_impl.cc @@ -405,7 +405,6 @@ size_t PPB_URLLoader_Impl::FillUserBuffer() { buffer_.erase(buffer_.begin(), buffer_.begin() + bytes_to_copy); // If the buffer is getting too empty, resume asynchronous loading. - DCHECK(!is_asynchronous_load_suspended_); if (is_asynchronous_load_suspended_ && buffer_.size() <= static_cast<size_t>( request_data_.prefetch_buffer_lower_threshold)) { |