Index: net/quic/core/quic_session.cc |
diff --git a/net/quic/core/quic_session.cc b/net/quic/core/quic_session.cc |
index 6c3add0cfefdb7fceabd0a8db168b7cba149e077..d90d92de768fbe469800bbb79c39c07cf7c23fd6 100644 |
--- a/net/quic/core/quic_session.cc |
+++ b/net/quic/core/quic_session.cc |
@@ -159,7 +159,7 @@ void QuicSession::OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) { |
return; |
} |
ReliableQuicStream* stream = GetOrCreateStream(stream_id); |
- if (stream) { |
+ if (stream != nullptr) { |
stream->OnWindowUpdateFrame(frame); |
} |
} |
@@ -631,7 +631,8 @@ bool QuicSession::MaybeIncreaseLargestPeerStreamId( |
size_t new_num_available_streams = |
GetNumAvailableStreams() + additional_available_streams; |
if (new_num_available_streams > MaxAvailableStreams()) { |
- DVLOG(1) << "Failed to create a new incoming stream with id:" << stream_id |
+ DVLOG(1) << ENDPOINT |
+ << "Failed to create a new incoming stream with id:" << stream_id |
<< ". There are already " << GetNumAvailableStreams() |
<< " streams available, which would become " |
<< new_num_available_streams << ", which exceeds the limit " |