| Index: net/base/address_list_unittest.cc
|
| diff --git a/net/base/address_list_unittest.cc b/net/base/address_list_unittest.cc
|
| index 44955a9673640e30ef51b8d4bbc64e8a911e5d19..da1480a7b565e18430709c0d6b0cffbff762db5b 100644
|
| --- a/net/base/address_list_unittest.cc
|
| +++ b/net/base/address_list_unittest.cc
|
| @@ -70,7 +70,7 @@ TEST(AddressListTest, CreateFromAddrinfo) {
|
| for (size_t i = 0; i < list.size(); ++i) {
|
| EXPECT_EQ(ADDRESS_FAMILY_IPV4, list[i].GetFamily());
|
| // Only check the first byte of the address.
|
| - EXPECT_EQ(i, list[i].address()[0]);
|
| + EXPECT_EQ(i, list[i].address().bytes()[0]);
|
| EXPECT_EQ(static_cast<int>(i << 2), list[i].port());
|
| }
|
|
|
| @@ -82,7 +82,7 @@ TEST(AddressListTest, CreateFromAddrinfo) {
|
| // Check if copy is independent.
|
| copy[1] = IPEndPoint(copy[2].address(), 0xBEEF);
|
| // Original should be unchanged.
|
| - EXPECT_EQ(1u, list[1].address()[0]);
|
| + EXPECT_EQ(1u, list[1].address().bytes()[0]);
|
| EXPECT_EQ(1 << 2, list[1].port());
|
| }
|
|
|
|
|