Index: net/quic/quic_server_session.cc |
diff --git a/net/quic/quic_server_session.cc b/net/quic/quic_server_session.cc |
index 76fae7b9f2b58c525f075b1a4df295bd6600b8c9..bacd59ef4f2292679e40ee6350858096fd83a472 100644 |
--- a/net/quic/quic_server_session.cc |
+++ b/net/quic/quic_server_session.cc |
@@ -52,7 +52,7 @@ void QuicServerSession::OnConnectionClosed(QuicErrorCode error, |
QuicSession::OnConnectionClosed(error, from_peer); |
// In the unlikely event we get a connection close while doing an asynchronous |
// crypto event, make sure we cancel the callback. |
- if (crypto_stream_.get() != NULL) { |
+ if (crypto_stream_.get() != nullptr) { |
crypto_stream_->CancelOutstandingCallbacks(); |
} |
visitor_->OnConnectionClosed(connection()->connection_id(), error); |
@@ -157,7 +157,7 @@ bool QuicServerSession::ShouldCreateIncomingDataStream(QuicStreamId id) { |
QuicDataStream* QuicServerSession::CreateIncomingDataStream( |
QuicStreamId id) { |
if (!ShouldCreateIncomingDataStream(id)) { |
- return NULL; |
+ return nullptr; |
} |
return new QuicSpdyServerStream(id, this); |
@@ -165,7 +165,7 @@ QuicDataStream* QuicServerSession::CreateIncomingDataStream( |
QuicDataStream* QuicServerSession::CreateOutgoingDataStream() { |
DLOG(ERROR) << "Server push not yet supported"; |
- return NULL; |
+ return nullptr; |
} |
QuicCryptoServerStream* QuicServerSession::GetCryptoStream() { |