Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: url/scheme_host_port.cc

Issue 1349293009: Use UintToString() to convert port numbers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/scheme_host_port.cc
diff --git a/url/scheme_host_port.cc b/url/scheme_host_port.cc
index 9c122957947f3ac09dc53cedff2582f16ac7448a..8f90f5cdb7de34fa9cd3c208f0b4b7eca7fbd61c 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698