| Index: net/quic/core/quic_connection.cc
|
| diff --git a/net/quic/core/quic_connection.cc b/net/quic/core/quic_connection.cc
|
| index 07e902927a80f6f9bdd9d3401fa37de257a56805..b63b3ada3bcace5ae7ec146c240ad054cff69e6e 100644
|
| --- a/net/quic/core/quic_connection.cc
|
| +++ b/net/quic/core/quic_connection.cc
|
| @@ -1116,7 +1116,7 @@ QuicConsumedData QuicConnection::SendStreamData(
|
| QuicIOVector iov,
|
| QuicStreamOffset offset,
|
| bool fin,
|
| - const scoped_refptr<QuicAckListenerInterface>& listener) {
|
| + scoped_refptr<QuicAckListenerInterface> listener) {
|
| if (!fin && iov.total_length == 0) {
|
| QUIC_BUG << "Attempt to send empty stream frame";
|
| return QuicConsumedData(0, false);
|
| @@ -1135,9 +1135,10 @@ QuicConsumedData QuicConnection::SendStreamData(
|
| iov.total_length > kMaxPacketSize) {
|
| // Use the fast path to send full data packets.
|
| return packet_generator_.ConsumeDataFastPath(id, iov, offset, fin,
|
| - listener);
|
| + std::move(listener));
|
| }
|
| - return packet_generator_.ConsumeData(id, iov, offset, fin, listener);
|
| + return packet_generator_.ConsumeData(id, iov, offset, fin,
|
| + std::move(listener));
|
| }
|
|
|
| void QuicConnection::SendRstStream(QuicStreamId id,
|
|
|