Chromium Code Reviews| Index: net/quic/quic_client_session.cc |
| diff --git a/net/quic/quic_client_session.cc b/net/quic/quic_client_session.cc |
| index 00d130f85e3fface110d55a9d4cc5b5068a14054..6d17472da738330eea88fa02a2716fc8d5a922da 100644 |
| --- a/net/quic/quic_client_session.cc |
| +++ b/net/quic/quic_client_session.cc |
| @@ -164,7 +164,7 @@ void QuicClientSession::InitializeSession( |
| const QuicServerId& server_id, |
| QuicCryptoClientConfig* crypto_config, |
| QuicCryptoClientStreamFactory* crypto_client_stream_factory) { |
| - server_host_port_.reset(new HostPortPair(server_id.host_port_pair())); |
| + server_host_port_ = HostPortPair(server_id.host_port_pair()); |
|
wtc
2014/08/27 22:15:03
This should say:
server_host_port_ = server_id.h
ramant (doing other things)
2014/08/27 22:24:56
Done.
|
| crypto_stream_.reset( |
| crypto_client_stream_factory ? |
| crypto_client_stream_factory->CreateQuicCryptoClientStream( |
| @@ -504,7 +504,7 @@ bool QuicClientSession::CanPool(const std::string& hostname) const { |
| } |
| return SpdySession::CanPool(transport_security_state_, ssl_info, |
| - server_host_port_->host(), hostname); |
| + server_host_port_.host(), hostname); |
| } |
| QuicDataStream* QuicClientSession::CreateIncomingDataStream( |