Index: net/quic/quic_stream_sequencer_test.cc |
diff --git a/net/quic/quic_stream_sequencer_test.cc b/net/quic/quic_stream_sequencer_test.cc |
index f96fabc159c1f9af7cd6f3214921a8833026359a..6d36f383ff81264af39f411274bccc547f7ceaf6 100644 |
--- a/net/quic/quic_stream_sequencer_test.cc |
+++ b/net/quic/quic_stream_sequencer_test.cc |
@@ -566,11 +566,8 @@ TEST_F(QuicStreamSequencerTest, DontAcceptOverlappingFrames) { |
sequencer_->OnStreamFrame(frame1); |
QuicStreamFrame frame2(kClientDataStreamId1, false, 2, StringPiece("hello")); |
- EXPECT_CALL(stream_, CloseConnectionWithDetails( |
- FLAGS_quic_consolidate_onstreamframe_errors |
- ? QUIC_OVERLAPPING_STREAM_DATA |
- : QUIC_EMPTY_STREAM_FRAME_NO_FIN, |
- _)) |
+ EXPECT_CALL(stream_, |
+ CloseConnectionWithDetails(QUIC_OVERLAPPING_STREAM_DATA, _)) |
.Times(1); |
sequencer_->OnStreamFrame(frame2); |
} |