Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: net/quic/quic_server_session.cc

Issue 612323013: QUIC - (no behavior change) s/NULL/nullptr/g in .../quic/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_sent_packet_manager_test.cc ('k') | net/quic/quic_server_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « net/quic/quic_sent_packet_manager_test.cc ('k') | net/quic/quic_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698