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}
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user