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

Unified Diff: net/quic/test_tools/quic_stream_sequencer_peer.cc

Issue 1400293002: relnote: refactoring the buffering logic in QUIC's stream sequencer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disentangle merge of 104894802 Created 5 years, 2 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_stream_sequencer_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_stream_sequencer_peer.cc
diff --git a/net/quic/test_tools/quic_stream_sequencer_peer.cc b/net/quic/test_tools/quic_stream_sequencer_peer.cc
index 591a2e9e927d675298be7f2f13e9a44df67c7329..0d2c61b11abdc3412985bc46bc7bfc81a7599d10 100644
--- a/net/quic/test_tools/quic_stream_sequencer_peer.cc
+++ b/net/quic/test_tools/quic_stream_sequencer_peer.cc
@@ -22,9 +22,11 @@ size_t QuicStreamSequencerPeer::GetNumBufferedFrames(
bool QuicStreamSequencerPeer::FrameOverlapsBufferedData(
QuicStreamSequencer* sequencer,
const QuicStreamFrame& frame) {
- QuicStreamSequencer::FrameList::iterator it =
- sequencer->FindInsertionPoint(frame);
- return sequencer->FrameOverlapsBufferedData(frame, it);
+ list<QuicFrameList::FrameData>::iterator it =
+ sequencer->buffered_frames_.FindInsertionPoint(frame.offset,
+ frame.data.length());
+ return sequencer->buffered_frames_.FrameOverlapsBufferedData(
+ frame.offset, frame.data.length(), it);
}
// static
« no previous file with comments | « net/quic/quic_stream_sequencer_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698