Index: net/dns/mojo_host_type_converters.cc |
diff --git a/net/dns/mojo_host_type_converters.cc b/net/dns/mojo_host_type_converters.cc |
index 07dfe4df23f429c0a4ff7d0a93f870422c3a3aec..e10b638091868eb148098d16949610586cd38ed4 100644 |
--- a/net/dns/mojo_host_type_converters.cc |
+++ b/net/dns/mojo_host_type_converters.cc |
@@ -77,7 +77,7 @@ TypeConverter<net::interfaces::AddressListPtr, net::AddressList>::Convert( |
for (const auto& endpoint : obj) { |
net::interfaces::IPEndPointPtr ep(net::interfaces::IPEndPoint::New()); |
ep->port = endpoint.port(); |
- ep->address = mojo::Array<uint8_t>::From(endpoint.address()); |
+ ep->address = mojo::Array<uint8_t>::From(endpoint.address_number()); |
result->addresses.push_back(std::move(ep)); |
} |
return result; |