| Index: multi_http_fetcher.h
|
| diff --git a/multi_http_fetcher.h b/multi_http_fetcher.h
|
| index 43281990952ffa668cdd1574b51495c81dfffd39..692054dded1f790fd6ebad1f940e4aa4139f515e 100644
|
| --- a/multi_http_fetcher.h
|
| +++ b/multi_http_fetcher.h
|
| @@ -122,6 +122,8 @@ class MultiHttpFetcher : public HttpFetcher, public HttpFetcherDelegate {
|
| << ranges_[current_index_].second << ")";
|
| bytes_received_this_fetcher_ = 0;
|
| fetchers_[current_index_]->SetOffset(ranges_[current_index_].first);
|
| + if (delegate_)
|
| + delegate_->SeekToOffset(ranges_[current_index_].first);
|
| fetchers_[current_index_]->BeginTransfer(url_);
|
| }
|
|
|
| @@ -141,8 +143,9 @@ class MultiHttpFetcher : public HttpFetcher, public HttpFetcherDelegate {
|
| bytes_received_this_fetcher_);
|
| }
|
| LOG_IF(WARNING, next_size <= 0) << "Asked to write length <= 0";
|
| - if (delegate_)
|
| + if (delegate_) {
|
| delegate_->ReceivedBytes(this, bytes, next_size);
|
| + }
|
| bytes_received_this_fetcher_ += length;
|
| if (ranges_[current_index_].second >= 0 &&
|
| bytes_received_this_fetcher_ >= ranges_[current_index_].second) {
|
|
|