| Index: net/spdy/spdy_http_stream_unittest.cc
|
| diff --git a/net/spdy/spdy_http_stream_unittest.cc b/net/spdy/spdy_http_stream_unittest.cc
|
| index f22b75f25ec916c57d7fc4cb8508437b65ba73dd..04b5088be5ee08a0e6b2236e3901093dd68e6f88 100644
|
| --- a/net/spdy/spdy_http_stream_unittest.cc
|
| +++ b/net/spdy/spdy_http_stream_unittest.cc
|
| @@ -754,16 +754,18 @@ TEST_P(SpdyHttpStreamTest, DelayedSendChunkedPostWithWindowUpdate) {
|
|
|
| // Verify that the window size has decreased.
|
| ASSERT_TRUE(http_stream->stream() != NULL);
|
| - EXPECT_NE(static_cast<int>(kSpdyStreamInitialWindowSize),
|
| - http_stream->stream()->send_window_size());
|
| + EXPECT_NE(
|
| + static_cast<int>(SpdySession::GetInitialWindowSize(session_->protocol())),
|
| + http_stream->stream()->send_window_size());
|
|
|
| // Read window update.
|
| deterministic_data_->RunFor(1);
|
|
|
| // Verify the window update.
|
| ASSERT_TRUE(http_stream->stream() != NULL);
|
| - EXPECT_EQ(static_cast<int>(kSpdyStreamInitialWindowSize),
|
| - http_stream->stream()->send_window_size());
|
| + EXPECT_EQ(
|
| + static_cast<int>(SpdySession::GetInitialWindowSize(session_->protocol())),
|
| + http_stream->stream()->send_window_size());
|
|
|
| // Read response headers.
|
| deterministic_data_->RunFor(1);
|
|
|