| Index: content/browser/download/download_request_core.cc
|
| diff --git a/content/browser/download/download_request_core.cc b/content/browser/download/download_request_core.cc
|
| index f23dcda4bf2270fd276a3f387260bdb0b76bbd3c..09833c85df9ae161f21ec46e81e384bbb4442234 100644
|
| --- a/content/browser/download/download_request_core.cc
|
| +++ b/content/browser/download/download_request_core.cc
|
| @@ -610,7 +610,7 @@ DownloadInterruptReason DownloadRequestCore::HandleSuccessfulServerResponse(
|
| int64_t first_byte = -1;
|
| int64_t last_byte = -1;
|
| int64_t length = -1;
|
| - if (!http_headers.GetContentRange(&first_byte, &last_byte, &length))
|
| + if (!http_headers.GetContentRangeFor206(&first_byte, &last_byte, &length))
|
| return DOWNLOAD_INTERRUPT_REASON_SERVER_BAD_CONTENT;
|
| DCHECK_GE(first_byte, 0);
|
|
|
|
|