Index: net/spdy/spdy_http_stream.cc |
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc |
index 9a498b954eac80f35ea50be7626c4442e89d31f3..9af52e4f1f5e342dd0691bbf78a505c4cf588d34 100644 |
--- a/net/spdy/spdy_http_stream.cc |
+++ b/net/spdy/spdy_http_stream.cc |
@@ -250,12 +250,11 @@ int SpdyHttpStream::SendRequest(const HttpRequestHeaders& request_headers, |
response_info_ = response; |
// Put the peer's IP address and port into the response. |
- AddressList address; |
+ IPEndPoint address; |
int result = stream_->GetPeerAddress(&address); |
if (result != OK) |
return result; |
- response_info_->socket_address = |
- HostPortPair::FromIPEndPoint(address.front()); |
+ response_info_->socket_address = HostPortPair::FromIPEndPoint(address); |
bool has_upload_data = request_body_stream_.get() != NULL; |
result = stream_->SendRequest(has_upload_data); |