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

Unified Diff: chrome/browser/local_discovery/service_discovery_client_mac.mm

Issue 1565303002: Change IPEndpoint::address() to return a net::IPAddress (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase for ChromeOS Created 4 years, 11 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 | chrome/browser/printing/cloud_print/privet_traffic_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/service_discovery_client_mac.mm
diff --git a/chrome/browser/local_discovery/service_discovery_client_mac.mm b/chrome/browser/local_discovery/service_discovery_client_mac.mm
index ada73a808cceaa0db73be8340d7ad04e6018c831..859a96a6156895c16b3fbccda90712eb8a0813b8 100644
--- a/chrome/browser/local_discovery/service_discovery_client_mac.mm
+++ b/chrome/browser/local_discovery/service_discovery_client_mac.mm
@@ -354,7 +354,7 @@ void ServiceResolverImplMac::NetServiceContainer::OnResolveUpdate(
if (end_point.FromSockAddr(socket, length)) {
service_description_.address =
net::HostPortPair::FromIPEndPoint(end_point);
- service_description_.ip_address = end_point.address();
+ service_description_.ip_address = end_point.address().bytes();
break;
}
}
« no previous file with comments | « no previous file | chrome/browser/printing/cloud_print/privet_traffic_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698