Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1403)

Unified Diff: net/quic/quic_session.cc

Issue 1979743002: Rename the QUIC stream frame fields frame_buffer and frame_length to data_buffer and data_length be… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@121700577
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_protocol.cc ('k') | net/quic/quic_stream_sequencer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session.cc
diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc
index c6cf09bab2f560cceaf73713a9dd99d72c4f77e6..542b518f29fab8d9ed9b2883f4efb440fd797d89 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -83,7 +83,7 @@ void QuicSession::OnStreamFrame(const QuicStreamFrame& frame) {
// final stream byte offset sent by the peer. A frame with a FIN can give
// us this offset.
if (frame.fin) {
- QuicStreamOffset final_byte_offset = frame.offset + frame.frame_length;
+ QuicStreamOffset final_byte_offset = frame.offset + frame.data_length;
UpdateFlowControlOnFinalReceivedByteOffset(stream_id, final_byte_offset);
}
return;
« no previous file with comments | « net/quic/quic_protocol.cc ('k') | net/quic/quic_stream_sequencer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698