| Index: net/proxy/proxy_bypass_rules.cc
|
| diff --git a/net/proxy/proxy_bypass_rules.cc b/net/proxy/proxy_bypass_rules.cc
|
| index eafaa98cc0593a82608be9d6d49ff99f6d99261b..3dce9ce7324c8541d703d95ab7ac289ee93a7ce7 100644
|
| --- a/net/proxy/proxy_bypass_rules.cc
|
| +++ b/net/proxy/proxy_bypass_rules.cc
|
| @@ -319,7 +319,7 @@ bool ProxyBypassRules::AddRuleFromStringInternal(
|
| std::string::size_type pos_colon = raw.rfind(':');
|
| port = -1;
|
| if (pos_colon != std::string::npos) {
|
| - if (!ParseNonNegativeDecimalInt(
|
| + if (!ParseNonNegativeInteger(
|
| base::StringPiece(raw.begin() + pos_colon + 1, raw.end()), &port) ||
|
| port > 0xFFFF) {
|
| return false; // Port was invalid.
|
|
|