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

Unified Diff: chrome/browser/local_discovery/privet_http_impl.cc

Issue 1358513003: Use correct IntToString variants in //chrome (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 | « chrome/browser/internal_auth.cc ('k') | chrome/browser/media/webrtc_logging_handler_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/privet_http_impl.cc
diff --git a/chrome/browser/local_discovery/privet_http_impl.cc b/chrome/browser/local_discovery/privet_http_impl.cc
index 9f41d223d358d11eec03ec4f103c89335b8e67f1..dc3b4eff03d7e14d2d256f3af2bbb9d5dc5bd913 100644
--- a/chrome/browser/local_discovery/privet_http_impl.cc
+++ b/chrome/browser/local_discovery/privet_http_impl.cc
@@ -712,7 +712,8 @@ scoped_ptr<PrivetURLFetcher> PrivetHTTPClientImpl::CreateURLFetcher(
PrivetURLFetcher::Delegate* delegate) {
GURL::Replacements replacements;
replacements.SetHostStr(host_port_.host());
- std::string port(base::IntToString(host_port_.port())); // Keep string alive.
+ std::string port(
+ base::UintToString(host_port_.port())); // Keep string alive.
replacements.SetPortStr(port);
return scoped_ptr<PrivetURLFetcher>(
new PrivetURLFetcher(url.ReplaceComponents(replacements),
« no previous file with comments | « chrome/browser/internal_auth.cc ('k') | chrome/browser/media/webrtc_logging_handler_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698