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..ceb371620c7a7ae4efcdfa94ffa77a87b760d46f 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().bytes()); |
result->addresses.push_back(std::move(ep)); |
} |
return result; |