Index: net/quic/reliable_quic_stream_test.cc |
diff --git a/net/quic/reliable_quic_stream_test.cc b/net/quic/reliable_quic_stream_test.cc |
index d1ad9094e9f4bf5cc9b56f321f6c485e6f3a4c7b..4a702c90abe03a1f62026de118b0e28d544d97c3 100644 |
--- a/net/quic/reliable_quic_stream_test.cc |
+++ b/net/quic/reliable_quic_stream_test.cc |
@@ -395,7 +395,7 @@ TEST_F(ReliableQuicStreamTest, WriteOrBufferDataWithQuicAckNotifier) { |
// Set a large flow control send window so this doesn't interfere with test. |
stream_->flow_controller()->UpdateSendWindowOffset(kDataSize + 1); |
if (FLAGS_enable_quic_connection_flow_control) { |
- connection_->flow_controller()->UpdateSendWindowOffset(kDataSize + 1); |
+ session_->flow_controller()->UpdateSendWindowOffset(kDataSize + 1); |
} |
scoped_refptr<QuicAckNotifier::DelegateInterface> proxy_delegate; |
@@ -450,7 +450,7 @@ TEST_F(ReliableQuicStreamTest, WriteOrBufferDataAckNotificationBeforeFlush) { |
// Set a large flow control send window so this doesn't interfere with test. |
stream_->flow_controller()->UpdateSendWindowOffset(kDataSize + 1); |
if (FLAGS_enable_quic_connection_flow_control) { |
- connection_->flow_controller()->UpdateSendWindowOffset(kDataSize + 1); |
+ session_->flow_controller()->UpdateSendWindowOffset(kDataSize + 1); |
} |
scoped_refptr<QuicAckNotifier::DelegateInterface> proxy_delegate; |