Index: net/quic/quic_stream_factory.cc |
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc |
index 215767ae29b83834823474a0de1ce66ea3e96aca..510242cf472bdf8060845e658c3219b58a7539c7 100644 |
--- a/net/quic/quic_stream_factory.cc |
+++ b/net/quic/quic_stream_factory.cc |
@@ -534,7 +534,7 @@ int QuicStreamFactory::CreateSession( |
const AddressList& address_list, |
const BoundNetLog& net_log, |
QuicClientSession** session) { |
- QuicGuid guid = random_generator_->RandUint64(); |
+ QuicConnectionId connection_id = random_generator_->RandUint64(); |
IPEndPoint addr = *address_list.begin(); |
scoped_refptr<PortSuggester> port_suggester = |
new PortSuggester(host_port_proxy_pair.first, port_seed_); |
@@ -577,7 +577,8 @@ int QuicStreamFactory::CreateSession( |
clock_.get(), random_generator_)); |
} |
- QuicConnection* connection = new QuicConnection(guid, addr, helper_.get(), |
+ QuicConnection* connection = new QuicConnection(connection_id, addr, |
+ helper_.get(), |
writer.get(), false, |
supported_versions_); |
writer->SetConnection(connection); |