summaryrefslogtreecommitdiffstats
path: root/extensions/browser/api
diff options
context:
space:
mode:
authormartijn <martijn@martijnc.be>2016-01-26 23:14:07 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-27 07:14:58 +0000
commit98acb9b5250fac2902aff41afa71496da5cf26cd (patch)
tree1a70d9dda19a59065a90676b74df0183cf93b286 /extensions/browser/api
parent8d602e01c880ab6ca1e70b53aa1881fcc43d7627 (diff)
downloadchromium_src-98acb9b5250fac2902aff41afa71496da5cf26cd.zip
chromium_src-98acb9b5250fac2902aff41afa71496da5cf26cd.tar.gz
chromium_src-98acb9b5250fac2902aff41afa71496da5cf26cd.tar.bz2
Change IPEndpoint::address() to return a net::IPAddress
This CL is part of the net::IPAddressNumber migration[1]. IPEndpoint::address() currently returns a net::IPAddressNumber but we need it to return a net::IPAddress. BUG=496258 TBR=scheib [1] https://code.google.com/p/chromium/issues/detail?id=496258#c10 Review URL: https://codereview.chromium.org/1565303002 Cr-Commit-Position: refs/heads/master@{#371750}
Diffstat (limited to 'extensions/browser/api')
-rw-r--r--extensions/browser/api/cast_channel/logger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/browser/api/cast_channel/logger.cc b/extensions/browser/api/cast_channel/logger.cc
index 39077f4..ba187da 100644
--- a/extensions/browser/api/cast_channel/logger.cc
+++ b/extensions/browser/api/cast_channel/logger.cc
@@ -144,7 +144,7 @@ void Logger::LogNewSocketEvent(const CastSocket& cast_socket) {
AggregatedSocketEvent& aggregated_socket_event =
LogSocketEvent(cast_socket.id(), event);
- const net::IPAddressNumber& ip = cast_socket.ip_endpoint().address();
+ const net::IPAddressNumber& ip = cast_socket.ip_endpoint().address().bytes();
aggregated_socket_event.set_endpoint_id(ip.back());
aggregated_socket_event.set_channel_auth_type(cast_socket.channel_auth() ==
CHANNEL_AUTH_TYPE_SSL