Index: net/quic/quic_client_session_base.h |
diff --git a/net/quic/quic_client_session_base.h b/net/quic/quic_client_session_base.h |
index 414562b7ab0627b634c49e88af93f60197b2d2e4..e48fd957d40a40964120c13a437caaab3e78fc3e 100644 |
--- a/net/quic/quic_client_session_base.h |
+++ b/net/quic/quic_client_session_base.h |
@@ -88,7 +88,7 @@ class NET_EXPORT_PRIVATE QuicClientSessionBase : public QuicSpdySession { |
void ResetPromised(QuicStreamId id, QuicRstStreamErrorCode error_code); |
size_t get_max_promises() const { |
- return get_max_open_streams() * kMaxPromisedStreamsMultiplier; |
+ return max_open_incoming_streams() * kMaxPromisedStreamsMultiplier; |
} |
private: |