Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2008)

Unified Diff: net/spdy/spdy_http_stream_unittest.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/ssl_client_socket_pool_unittest.cc ('k') | net/spdy/spdy_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « net/socket/ssl_client_socket_pool_unittest.cc ('k') | net/spdy/spdy_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698