| Index: net/base/host_port_pair.cc
|
| diff --git a/net/base/host_port_pair.cc b/net/base/host_port_pair.cc
|
| index 441a35965d8f4fa7e93a8b323d1a4ffca19d1d20..3bdfc5de62c5bf96ce2a4381d291cb97d4718e1d 100644
|
| --- a/net/base/host_port_pair.cc
|
| +++ b/net/base/host_port_pair.cc
|
| @@ -38,7 +38,7 @@ HostPortPair HostPortPair::FromString(const std::string& str) {
|
| if (key_port.size() != 2)
|
| return HostPortPair();
|
| int port;
|
| - if (!ParseNonNegativeDecimalInt(key_port[1], &port))
|
| + if (!ParseInt32(key_port[1], ParseIntFormat::NON_NEGATIVE, &port))
|
| return HostPortPair();
|
| if (!IsPortValid(port))
|
| return HostPortPair();
|
|
|