From 460198b386b6d5fc3ead46bfc7a77e4b58bc1399 Mon Sep 17 00:00:00 2001 From: ricea Date: Fri, 18 Sep 2015 15:42:28 -0700 Subject: [PATCH] Use UintToString() to convert port numbers. No change in behaviour. BUG=505479 TEST=compile Review URL: https://codereview.chromium.org/1349293009 Cr-Commit-Position: refs/heads/master@{#349792} --- url/scheme_host_port.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url/scheme_host_port.cc b/url/scheme_host_port.cc index 9c122957947f..8f90f5cdb7de 100644 --- a/url/scheme_host_port.cc +++ b/url/scheme_host_port.cc @@ -158,7 +158,7 @@ std::string SchemeHostPort::Serialize() const { return result; if (port_ != default_port) { result.push_back(':'); - result.append(base::IntToString(port_)); + result.append(base::UintToString(port_)); } return result; -- 2.11.4.GIT