| Index: net/http/http_byte_range.cc
|
| diff --git a/net/http/http_byte_range.cc b/net/http/http_byte_range.cc
|
| index 8978d9af3321504d71320636236abe8a8d8c5bf6..60683c5584f5578dd0c4e76ce41f4c12341cdacc 100644
|
| --- a/net/http/http_byte_range.cc
|
| +++ b/net/http/http_byte_range.cc
|
| @@ -36,9 +36,9 @@ bool HttpByteRange::HasLastBytePosition() const {
|
| bool HttpByteRange::IsValid() const {
|
| if (suffix_length_ > 0)
|
| return true;
|
| - return first_byte_position_ >= 0 &&
|
| - (last_byte_position_ == kPositionNotSpecified ||
|
| - last_byte_position_ >= first_byte_position_);
|
| + return (first_byte_position_ >= 0 &&
|
| + (last_byte_position_ == kPositionNotSpecified ||
|
| + last_byte_position_ >= first_byte_position_));
|
| }
|
|
|
| bool HttpByteRange::ComputeBounds(int64 size) {
|
| @@ -52,9 +52,9 @@ bool HttpByteRange::ComputeBounds(int64 size) {
|
| if (!HasFirstBytePosition() &&
|
| !HasLastBytePosition() &&
|
| !IsSuffixByteRange()) {
|
| - first_byte_position_ = 0;
|
| - last_byte_position_ = size - 1;
|
| - return true;
|
| + first_byte_position_ = 0;
|
| + last_byte_position_ = size - 1;
|
| + return true;
|
| }
|
| if (!IsValid())
|
| return false;
|
|
|