Index: net/quic/core/quic_connection.cc |
diff --git a/net/quic/core/quic_connection.cc b/net/quic/core/quic_connection.cc |
index 66f5be67dfaf18d0bbe4daf1ecb6a72ddae3a40d..93232b5802d302d4cafdfd764b4f6790a3dd1147 100644 |
--- a/net/quic/core/quic_connection.cc |
+++ b/net/quic/core/quic_connection.cc |
@@ -240,6 +240,7 @@ QuicConnection::QuicConnection(QuicConnectionId connection_id, |
debug_visitor_(nullptr), |
packet_generator_(connection_id_, |
&framer_, |
+ random_generator_, |
helper->GetBufferAllocator(), |
this), |
idle_network_timeout_(QuicTime::Delta::Infinite()), |
@@ -1079,7 +1080,7 @@ QuicConsumedData QuicConnection::SendStreamData( |
return packet_generator_.ConsumeDataFastPath(id, iov, offset, fin, |
std::move(ack_listener)); |
} |
- return packet_generator_.ConsumeData(id, iov, offset, fin, |
+ return packet_generator_.ConsumeData(id, iov, offset, fin ? FIN : NO_FIN, |
std::move(ack_listener)); |
} |