| Index: net/base/host_resolver_impl.cc
|
| diff --git a/net/base/host_resolver_impl.cc b/net/base/host_resolver_impl.cc
|
| index 4c367a1d64a75e0cfd426168e02cb388dc47bc00..5b9590e96bdecfdaf15e8188bf4339b3bc8cfd3f 100644
|
| --- a/net/base/host_resolver_impl.cc
|
| +++ b/net/base/host_resolver_impl.cc
|
| @@ -44,18 +44,6 @@ namespace net {
|
|
|
| namespace {
|
|
|
| -// Helper to create an AddressList that has a particular port. It has an
|
| -// optimization to avoid allocating a new address linked list when the
|
| -// port is already what we want.
|
| -AddressList CreateAddressListUsingPort(const AddressList& src, int port) {
|
| - if (src.GetPort() == port)
|
| - return src;
|
| -
|
| - AddressList out = src;
|
| - out.SetPort(port);
|
| - return out;
|
| -}
|
| -
|
| // Helper to mutate the linked list contained by AddressList to the given
|
| // port. Note that in general this is dangerous since the AddressList's
|
| // data might be shared (and you should use AddressList::SetPort).
|
|
|