| Index: webkit/glue/multipart_response_delegate.cc
|
| diff --git a/webkit/glue/multipart_response_delegate.cc b/webkit/glue/multipart_response_delegate.cc
|
| index 3a4f05311794dea92e6b318a1d4d6bd0a499e18d..5ae2ae39f9d673d9057404c7e033d7e68c1c4b7b 100644
|
| --- a/webkit/glue/multipart_response_delegate.cc
|
| +++ b/webkit/glue/multipart_response_delegate.cc
|
| @@ -325,9 +325,9 @@ bool MultipartResponseDelegate::ReadMultipartBoundary(
|
|
|
| bool MultipartResponseDelegate::ReadContentRanges(
|
| const WebURLResponse& response,
|
| - int* content_range_lower_bound,
|
| - int* content_range_upper_bound,
|
| - int* content_range_instance_size) {
|
| + int64* content_range_lower_bound,
|
| + int64* content_range_upper_bound,
|
| + int64* content_range_instance_size) {
|
|
|
| std::string content_range = response.httpHeaderField("Content-Range").utf8();
|
| if (content_range.empty()) {
|
| @@ -390,12 +390,14 @@ bool MultipartResponseDelegate::ReadContentRanges(
|
| content_range.substr(byte_range_instance_size_start_offset,
|
| byte_range_instance_size_characters);
|
|
|
| - if (!base::StringToInt(byte_range_lower_bound, content_range_lower_bound))
|
| + if (!base::StringToInt64(byte_range_lower_bound, content_range_lower_bound))
|
| return false;
|
| - if (!base::StringToInt(byte_range_upper_bound, content_range_upper_bound))
|
| + if (!base::StringToInt64(byte_range_upper_bound, content_range_upper_bound))
|
| return false;
|
| - if (!base::StringToInt(byte_range_instance_size, content_range_instance_size))
|
| + if (!base::StringToInt64(byte_range_instance_size,
|
| + content_range_instance_size)) {
|
| return false;
|
| + }
|
| return true;
|
| }
|
|
|
|
|