| Index: net/dns/address_sorter_posix_unittest.cc
|
| diff --git a/net/dns/address_sorter_posix_unittest.cc b/net/dns/address_sorter_posix_unittest.cc
|
| index 13778ebefeeb458869e56f996c0110ff99126e36..d40dfbf25ae6d818863ac46a2e9df65bf699e170 100644
|
| --- a/net/dns/address_sorter_posix_unittest.cc
|
| +++ b/net/dns/address_sorter_posix_unittest.cc
|
| @@ -73,7 +73,7 @@ class TestUDPClientSocket : public DatagramClientSocket {
|
| int Connect(const IPEndPoint& remote) override {
|
| if (connected_)
|
| return ERR_UNEXPECTED;
|
| - AddressMapping::const_iterator it = mapping_->find(remote.address());
|
| + AddressMapping::const_iterator it = mapping_->find(remote.address_number());
|
| if (it == mapping_->end())
|
| return ERR_FAILED;
|
| connected_ = true;
|
| @@ -179,10 +179,10 @@ class AddressSorterPosixTest : public testing::Test {
|
| for (size_t i = 0; (i < result.size()) || (order[i] >= 0); ++i) {
|
| IPEndPoint expected = order[i] >= 0 ? list[order[i]] : IPEndPoint();
|
| IPEndPoint actual = i < result.size() ? result[i] : IPEndPoint();
|
| - EXPECT_TRUE(expected.address() == actual.address()) <<
|
| - "Address out of order at position " << i << "\n" <<
|
| - " Actual: " << actual.ToStringWithoutPort() << "\n" <<
|
| - "Expected: " << expected.ToStringWithoutPort();
|
| + EXPECT_TRUE(expected.address_number() == actual.address_number())
|
| + << "Address out of order at position " << i << "\n"
|
| + << " Actual: " << actual.ToStringWithoutPort() << "\n"
|
| + << "Expected: " << expected.ToStringWithoutPort();
|
| }
|
| }
|
|
|
|
|