Index: net/http/http_util.cc |
diff --git a/net/http/http_util.cc b/net/http/http_util.cc |
index 0f28c8340f512eb2a944b983370b8f0e5e05b01b..fed74b63414275c157ace8f06aca5daba2dab2ff 100644 |
--- a/net/http/http_util.cc |
+++ b/net/http/http_util.cc |
@@ -281,7 +281,7 @@ bool HttpUtil::ParseRangeHeader(const std::string& ranges_specifier, |
return false; |
ranges->push_back(range); |
} |
- return ranges->size() > 0; |
+ return !ranges->empty(); |
} |
// static |