| Index: net/http/http_byte_range.cc
|
| diff --git a/net/http/http_byte_range.cc b/net/http/http_byte_range.cc
|
| index b43cb2e8008608c025ceb94355cb28d06b818ab7..69ae2307a5eccac17bed7b806373ce17911bb0a3 100644
|
| --- a/net/http/http_byte_range.cc
|
| +++ b/net/http/http_byte_range.cc
|
| @@ -79,7 +79,8 @@ std::string HttpByteRange::GetHeaderValue() const {
|
| return base::StringPrintf("bytes=%" PRId64 "-", first_byte_position());
|
|
|
| return base::StringPrintf("bytes=%" PRId64 "-%" PRId64,
|
| - first_byte_position(), last_byte_position());
|
| + first_byte_position(),
|
| + last_byte_position());
|
| }
|
|
|
| bool HttpByteRange::ComputeBounds(int64 size) {
|
| @@ -90,8 +91,7 @@ bool HttpByteRange::ComputeBounds(int64 size) {
|
| has_computed_bounds_ = true;
|
|
|
| // Empty values.
|
| - if (!HasFirstBytePosition() &&
|
| - !HasLastBytePosition() &&
|
| + if (!HasFirstBytePosition() && !HasLastBytePosition() &&
|
| !IsSuffixByteRange()) {
|
| first_byte_position_ = 0;
|
| last_byte_position_ = size - 1;
|
|
|