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

Unified Diff: net/quic/quic_packet_generator.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_packet_generator.h ('k') | net/quic/quic_packet_generator_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_generator.cc
diff --git a/net/quic/quic_packet_generator.cc b/net/quic/quic_packet_generator.cc
index 8906ad9c165819570a09913e4aa5b6e31229c3a9..11a45cc984f652da63217c0def07422c98f28c5a 100644
--- a/net/quic/quic_packet_generator.cc
+++ b/net/quic/quic_packet_generator.cc
@@ -33,14 +33,13 @@ QuicPacketGenerator::QuicPacketGenerator(QuicConnectionId connection_id,
QuicRandom* random_generator,
DelegateInterface* delegate)
: delegate_(delegate),
- debug_delegate_(NULL),
+ debug_delegate_(nullptr),
packet_creator_(connection_id, framer, random_generator),
batch_mode_(false),
should_fec_protect_(false),
should_send_ack_(false),
should_send_feedback_(false),
- should_send_stop_waiting_(false) {
-}
+ should_send_stop_waiting_(false) {}
QuicPacketGenerator::~QuicPacketGenerator() {
for (QuicFrames::iterator it = queued_control_frames_.begin();
@@ -141,7 +140,7 @@ QuicConsumedData QuicPacketGenerator::ConsumeData(QuicStreamId id,
HAS_RETRANSMITTABLE_DATA, handshake)) {
QuicFrame frame;
size_t bytes_consumed;
- if (notifier != NULL) {
+ if (notifier != nullptr) {
// We want to track which packet this stream frame ends up in.
bytes_consumed = packet_creator_.CreateStreamFrameWithNotifier(
id, data, offset + total_bytes_consumed, fin, notifier, &frame);
« no previous file with comments | « net/quic/quic_packet_generator.h ('k') | net/quic/quic_packet_generator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698