diff options
author | horo@chromium.org <horo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-10 12:33:08 +0000 |
---|---|---|
committer | horo@chromium.org <horo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-10 12:33:08 +0000 |
commit | efa6cb4b9fa86fd732078b453c2c7d7f835ce878 (patch) | |
tree | f6018d199bba79c04550dc62b6ea50fed2bb5859 /third_party | |
parent | ea291015e6f06b914ef19a09409746bb2af5cd7e (diff) | |
download | chromium_src-efa6cb4b9fa86fd732078b453c2c7d7f835ce878.zip chromium_src-efa6cb4b9fa86fd732078b453c2c7d7f835ce878.tar.gz chromium_src-efa6cb4b9fa86fd732078b453c2c7d7f835ce878.tar.bz2 |
Propagate the status in ServiceWorkerURLRequestJob::OnReadCompleted
In current code, while reading a blob created by XMLHttpRequest, the status is set to IO_PENDING in ServiceWorkerURLRequestJob::ReadRawData.
But the status will not be updated even when complete reading.
So DCHECK(!request_->status().is_io_pending()) fails while reading the next chunk.
The status must be updated in OnReadCompleted.
BUG=382311
Review URL: https://codereview.chromium.org/315863003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275995 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions