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 9c45e53cc70b9b14921cde6570669a8c6fa13113..4d0eabfb715d1ee1a05abf19cc62c4517f15af00 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; |