Index: net/tools/quic/quic_client_session.cc |
diff --git a/net/tools/quic/quic_client_session.cc b/net/tools/quic/quic_client_session.cc |
index 4fd488267dfc1ecb0a32869d695f4ac53bdbe654..5a51523bb5f9f78b73bc865f465458a3f77b23b7 100644 |
--- a/net/tools/quic/quic_client_session.cc |
+++ b/net/tools/quic/quic_client_session.cc |
@@ -43,7 +43,7 @@ QuicSpdyClientStream* QuicClientSession::CreateOutgoingDynamicStream( |
DVLOG(1) << "Encryption not active so no outgoing stream created."; |
return nullptr; |
} |
- if (GetNumOpenOutgoingStreams() >= get_max_open_streams()) { |
+ if (GetNumOpenOutgoingStreams() >= max_open_outgoing_streams()) { |
DVLOG(1) << "Failed to create a new outgoing stream. " |
<< "Already " << GetNumOpenOutgoingStreams() << " open."; |
return nullptr; |