| Index: net/quic/quic_reliable_client_stream.cc
|
| diff --git a/net/quic/quic_reliable_client_stream.cc b/net/quic/quic_reliable_client_stream.cc
|
| index 24e469fc1cacdbf3c5dd176d46f867950f99c06a..42fda8bf111344972d78a94a192e14e4a8f64da5 100644
|
| --- a/net/quic/quic_reliable_client_stream.cc
|
| +++ b/net/quic/quic_reliable_client_stream.cc
|
| @@ -77,15 +77,6 @@ QuicPriority QuicReliableClientStream::EffectivePriority() const {
|
| return QuicWriteBlockedList::kHighestPriority;
|
| }
|
|
|
| -void QuicReliableClientStream::OnFinRead() {
|
| - // Do not close the stream here to give the caller a chance to
|
| - // invoke DoneReading.
|
| -}
|
| -
|
| -void QuicReliableClientStream::DoneReading() {
|
| - QuicDataStream::OnFinRead();
|
| -}
|
| -
|
| int QuicReliableClientStream::WriteStreamData(
|
| base::StringPiece data,
|
| bool fin,
|
| @@ -107,7 +98,7 @@ void QuicReliableClientStream::SetDelegate(
|
| DCHECK(!(delegate_ && delegate));
|
| delegate_ = delegate;
|
| if (delegate == nullptr && sequencer()->IsClosed()) {
|
| - DoneReading();
|
| + OnFinRead();
|
| }
|
| }
|
|
|
|
|