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

Unified Diff: net/quic/quic_protocol.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_protocol.h ('k') | net/quic/quic_reliable_client_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_protocol.cc
diff --git a/net/quic/quic_protocol.cc b/net/quic/quic_protocol.cc
index ce7ba483d9626834a722883603fc6e9c3948725b..96a4557f3277db6b0a7581103360ac768816c1d4 100644
--- a/net/quic/quic_protocol.cc
+++ b/net/quic/quic_protocol.cc
@@ -105,7 +105,7 @@ QuicStreamFrame::QuicStreamFrame()
: stream_id(0),
fin(false),
offset(0),
- notifier(NULL) {}
+ notifier(nullptr) {}
QuicStreamFrame::QuicStreamFrame(const QuicStreamFrame& frame)
: stream_id(frame.stream_id),
@@ -123,8 +123,7 @@ QuicStreamFrame::QuicStreamFrame(QuicStreamId stream_id,
fin(fin),
offset(offset),
data(data),
- notifier(NULL) {
-}
+ notifier(nullptr) {}
string* QuicStreamFrame::GetDataAsString() const {
string* data_string = new string();
@@ -709,13 +708,13 @@ ostream& operator<<(ostream& os, const QuicEncryptedPacket& s) {
}
TransmissionInfo::TransmissionInfo()
- : retransmittable_frames(NULL),
+ : retransmittable_frames(nullptr),
sequence_number_length(PACKET_1BYTE_SEQUENCE_NUMBER),
sent_time(QuicTime::Zero()),
bytes_sent(0),
nack_count(0),
transmission_type(NOT_RETRANSMISSION),
- all_transmissions(NULL),
+ all_transmissions(nullptr),
in_flight(false),
is_unackable(false) {}
@@ -728,7 +727,7 @@ TransmissionInfo::TransmissionInfo(
bytes_sent(0),
nack_count(0),
transmission_type(NOT_RETRANSMISSION),
- all_transmissions(NULL),
+ all_transmissions(nullptr),
in_flight(false),
is_unackable(false) {}
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_reliable_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698