Index: net/tools/quic/end_to_end_test.cc |
diff --git a/net/tools/quic/end_to_end_test.cc b/net/tools/quic/end_to_end_test.cc |
index 55fd1b7143022668cd66764ad943da845ed55bdc..ced4c694169766dcf6eb740e07d91496a8dd2467 100644 |
--- a/net/tools/quic/end_to_end_test.cc |
+++ b/net/tools/quic/end_to_end_test.cc |
@@ -1168,8 +1168,8 @@ TEST_P(EndToEndTest, NegotiateMaxOpenStreams) { |
// Make the client misbehave after negotiation. |
const int kServerMaxStreams = kMaxStreamsMinimumIncrement + 1; |
- QuicSessionPeer::SetMaxOpenStreams(client_->client()->session(), |
- kServerMaxStreams + 1); |
+ QuicSessionPeer::SetMaxOpenOutgoingStreams(client_->client()->session(), |
+ kServerMaxStreams + 1); |
HTTPMessage request(HttpConstants::HTTP_1_1, HttpConstants::POST, "/foo"); |
request.AddHeader("content-length", "3"); |