| Index: net/base/host_port_pair.cc
|
| diff --git a/net/base/host_port_pair.cc b/net/base/host_port_pair.cc
|
| index 1570bbb5718606e25057f07069b16d194aaaba6f..1550c36f616c258da2fd6c76cf996087ee355042 100644
|
| --- a/net/base/host_port_pair.cc
|
| +++ b/net/base/host_port_pair.cc
|
| @@ -47,7 +47,10 @@ HostPortPair HostPortPair::FromString(const std::string& str) {
|
| }
|
|
|
| std::string HostPortPair::ToString() const {
|
| - return base::StringPrintf("%s:%u", HostForURL().c_str(), port_);
|
| + std::string ret(HostForURL());
|
| + ret += ':';
|
| + ret += base::IntToString(port_);
|
| + return ret;
|
| }
|
|
|
| std::string HostPortPair::HostForURL() const {
|
|
|