Index: net/quic/reliable_quic_stream.cc |
diff --git a/net/quic/reliable_quic_stream.cc b/net/quic/reliable_quic_stream.cc |
index c7d3b6acc67607b9ddab5ae07bbc14b49b8c2705..7dc22b6313a44550a6f9383657dd2a54c914ada0 100644 |
--- a/net/quic/reliable_quic_stream.cc |
+++ b/net/quic/reliable_quic_stream.cc |
@@ -309,9 +309,9 @@ QuicConsumedData ReliableQuicStream::WritevData( |
write_length = static_cast<size_t>(send_window); |
} |
- QuicConsumedData consumed_data = session()->WritevData( |
- this, id(), QuicIOVector(iov, iov_count, write_length), |
- stream_bytes_written_, fin, ack_listener); |
+ QuicConsumedData consumed_data = |
+ WritevDataInner(QuicIOVector(iov, iov_count, write_length), |
+ stream_bytes_written_, fin, ack_listener); |
stream_bytes_written_ += consumed_data.bytes_consumed; |
AddBytesSent(consumed_data.bytes_consumed); |
@@ -341,6 +341,15 @@ QuicConsumedData ReliableQuicStream::WritevData( |
return consumed_data; |
} |
+QuicConsumedData ReliableQuicStream::WritevDataInner( |
+ QuicIOVector iov, |
+ QuicStreamOffset offset, |
+ bool fin, |
+ QuicAckListenerInterface* ack_notifier_delegate) { |
+ return session()->WritevData(this, id(), iov, offset, fin, |
+ ack_notifier_delegate); |
+} |
+ |
void ReliableQuicStream::CloseReadSide() { |
if (read_side_closed_) { |
return; |