Chromium Code Reviews| Index: net/spdy/spdy_http_stream.cc |
| diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc |
| index cdda4f2f9a085f6d193d35c9f68cf5278896576d..f5348d061c06c5a48efea3ed6b5b22756cbeb35a 100644 |
| --- a/net/spdy/spdy_http_stream.cc |
| +++ b/net/spdy/spdy_http_stream.cc |
| @@ -254,7 +254,8 @@ int SpdyHttpStream::SendRequest(const HttpRequestHeaders& request_headers, |
| int result = stream_->GetPeerAddress(&address); |
| if (result != OK) |
| return result; |
| - response_info_->socket_address = HostPortPair::FromAddrInfo(address.head()); |
| + response_info_->socket_address = |
| + HostPortPair::FromIPEndPoint(address.front()); |
|
eroman
2012/05/04 19:37:36
nit: indent continued lines by 4.
|
| bool has_upload_data = request_body_stream_.get() != NULL; |
| result = stream_->SendRequest(has_upload_data); |