Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: net/http/http_network_transaction_spdy2_unittest.cc

Issue 10309002: Reimplements net::AddressList without struct addrinfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: get_canonical_name -> canonical_name. iterator to indexing Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_auth_handler_negotiate.cc ('k') | net/http/http_network_transaction_spdy3_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction_spdy2_unittest.cc
diff --git a/net/http/http_network_transaction_spdy2_unittest.cc b/net/http/http_network_transaction_spdy2_unittest.cc
index 01b08e029fc49c0a3795dc9331963ad70738ea10..be6dd8c0c682e8c931c18a8774a23201f0e68378 100644
--- a/net/http/http_network_transaction_spdy2_unittest.cc
+++ b/net/http/http_network_transaction_spdy2_unittest.cc
@@ -9243,8 +9243,7 @@ void IPPoolingAddAlias(MockCachingHostResolver* host_resolver,
// MockHostResolver returns 127.0.0.1 (MockHostResolverBase::Reset). So we use
// the first address (127.0.0.1) returned by MockHostResolver as an alias for
// the |pair|.
- const addrinfo* address = addresses.head();
- pool_peer->AddAlias(address, pair);
+ pool_peer->AddAlias(addresses.front(), pair);
}
} // namespace
« no previous file with comments | « net/http/http_auth_handler_negotiate.cc ('k') | net/http/http_network_transaction_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698