Index: net/quic/quic_stream_factory.cc |
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc |
index c39945632108bc107a4610c0ccb557e03ce18165..503e549a241fc667a0a97eaa0d2d8157b19da1fa 100644 |
--- a/net/quic/quic_stream_factory.cc |
+++ b/net/quic/quic_stream_factory.cc |
@@ -833,9 +833,13 @@ int QuicStreamFactory::CreateSession( |
clock_.get(), random_generator_)); |
} |
- QuicConnection* connection = |
- new QuicConnection(connection_id, addr, helper_.get(), writer.get(), |
- false, supported_versions_); |
+ QuicConnection* connection = new QuicConnection(connection_id, |
+ addr, |
+ helper_.get(), |
+ writer.get(), |
+ false /* owns_writer */, |
+ false /* is_server */, |
+ supported_versions_); |
writer->SetConnection(connection); |
connection->set_max_packet_length(max_packet_length_); |