| Index: net/quic/quic_data_stream_test.cc
|
| diff --git a/net/quic/quic_data_stream_test.cc b/net/quic/quic_data_stream_test.cc
|
| index b3c0f4ceb79fa4921165a70816295efaff1fbeb2..09854f2a19c4ddaf9bce5bfb1058b471e9a04354 100644
|
| --- a/net/quic/quic_data_stream_test.cc
|
| +++ b/net/quic/quic_data_stream_test.cc
|
| @@ -435,9 +435,9 @@ TEST_P(QuicDataStreamTest, ConnectionFlowControlWindowUpdate) {
|
| kWindow);
|
| QuicFlowControllerPeer::SetMaxReceiveWindow(stream2_->flow_controller(),
|
| kWindow);
|
| - QuicFlowControllerPeer::SetReceiveWindowOffset(connection_->flow_controller(),
|
| + QuicFlowControllerPeer::SetReceiveWindowOffset(session_->flow_controller(),
|
| kWindow);
|
| - QuicFlowControllerPeer::SetMaxReceiveWindow(connection_->flow_controller(),
|
| + QuicFlowControllerPeer::SetMaxReceiveWindow(session_->flow_controller(),
|
| kWindow);
|
|
|
| // Supply headers to both streams so that they are happy to receive data.
|
| @@ -463,7 +463,7 @@ TEST_P(QuicDataStreamTest, ConnectionFlowControlWindowUpdate) {
|
| EXPECT_CALL(*connection_, SendWindowUpdate(kStreamId + 2, _)).Times(0);
|
| EXPECT_CALL(*connection_,
|
| SendWindowUpdate(0, QuicFlowControllerPeer::ReceiveWindowOffset(
|
| - connection_->flow_controller()) +
|
| + session_->flow_controller()) +
|
| 1 + kWindow / 2));
|
| QuicStreamFrame frame3(kStreamId, false, (kWindow / 4), MakeIOVector("a"));
|
| stream_->OnStreamFrame(frame3);
|
| @@ -518,7 +518,7 @@ TEST_P(QuicDataStreamTest, ConnectionFlowControlViolation) {
|
| const uint64 kConnectionWindow = 10;
|
| QuicFlowControllerPeer::SetReceiveWindowOffset(stream_->flow_controller(),
|
| kStreamWindow);
|
| - QuicFlowControllerPeer::SetReceiveWindowOffset(connection_->flow_controller(),
|
| + QuicFlowControllerPeer::SetReceiveWindowOffset(session_->flow_controller(),
|
| kConnectionWindow);
|
|
|
| string headers = SpdyUtils::SerializeUncompressedHeaders(headers_);
|
|
|