| Index: net/quic/quic_protocol.cc
|
| diff --git a/net/quic/quic_protocol.cc b/net/quic/quic_protocol.cc
|
| index a034cfba7e35bf09b7337010842e1625e914775b..284586ae6029fb68730d6de744555617bd4c1a0c 100644
|
| --- a/net/quic/quic_protocol.cc
|
| +++ b/net/quic/quic_protocol.cc
|
| @@ -624,6 +624,18 @@ const QuicFrame& RetransmittableFrames::AddNonStreamFrame(
|
| return frames_.back();
|
| }
|
|
|
| +void RetransmittableFrames::RemoveFramesForStream(QuicStreamId stream_id) {
|
| + QuicFrames::iterator it = frames_.begin();
|
| + while (it != frames_.end()) {
|
| + if (it->type != STREAM_FRAME || it->stream_frame->stream_id != stream_id) {
|
| + ++it;
|
| + continue;
|
| + }
|
| + delete it->stream_frame;
|
| + it = frames_.erase(it);
|
| + }
|
| +}
|
| +
|
| SerializedPacket::SerializedPacket(
|
| QuicPacketSequenceNumber sequence_number,
|
| QuicSequenceNumberLength sequence_number_length,
|
|
|