| Index: net/base/address_list_unittest.cc
|
| diff --git a/net/base/address_list_unittest.cc b/net/base/address_list_unittest.cc
|
| index cdf7fa8c8cd5f048bce48cb5fee73b902f51aaa6..2e495d0860374d9e00e0aac6ac3d6b61123125e3 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_number()[0]);
|
| EXPECT_EQ(static_cast<int>(i << 2), list[i].port());
|
| }
|
|
|
| @@ -80,9 +80,9 @@ TEST(AddressListTest, CreateFromAddrinfo) {
|
| ASSERT_EQ(kNumElements, copy.size());
|
|
|
| // Check if copy is independent.
|
| - copy[1] = IPEndPoint(copy[2].address(), 0xBEEF);
|
| + copy[1] = IPEndPoint(copy[2].address_number(), 0xBEEF);
|
| // Original should be unchanged.
|
| - EXPECT_EQ(1u, list[1].address()[0]);
|
| + EXPECT_EQ(1u, list[1].address_number()[0]);
|
| EXPECT_EQ(1 << 2, list[1].port());
|
| }
|
|
|
|
|