Commit 5a2b6999 authored by brettw@google.com's avatar brettw@google.com

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
parent 10671368
......@@ -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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment