Index: net/quic/quic_packet_creator.h |
diff --git a/net/quic/quic_packet_creator.h b/net/quic/quic_packet_creator.h |
index ef466c8ebcbd3b009c7d566039811c2c525b977c..313632e4b2bba78831b524016220e95ddb433e4c 100644 |
--- a/net/quic/quic_packet_creator.h |
+++ b/net/quic/quic_packet_creator.h |
@@ -125,7 +125,7 @@ class NET_EXPORT_PRIVATE QuicPacketCreator : public QuicFecBuilderInterface { |
// Returns true if subsequent packets will be FEC protected. Note: True does |
// not mean that an FEC packet is currently under construction; i.e., |
- // fec_group_.get() may still be NULL, until MaybeStartFec() is called. |
+ // fec_group_.get() may still be nullptr, until MaybeStartFec() is called. |
bool IsFecProtected() const; |
// Returns the number of bytes which are available to be used by additional |
@@ -155,11 +155,11 @@ class NET_EXPORT_PRIVATE QuicPacketCreator : public QuicFecBuilderInterface { |
bool AddSavedFrame(const QuicFrame& frame); |
// Serializes all frames which have been added and adds any which should be |
- // retransmitted to |retransmittable_frames| if it's not NULL. All frames must |
- // fit into a single packet. Sets the entropy hash of the serialized |
+ // retransmitted to |retransmittable_frames| if it's not nullptr. All frames |
+ // must fit into a single packet. Sets the entropy hash of the serialized |
// packet to a random bool and returns that value as a member of |
- // SerializedPacket. Also, sets |serialized_frames| in the SerializedPacket |
- // to the corresponding RetransmittableFrames if any frames are to be |
+ // SerializedPacket. Also, sets |serialized_frames| in the SerializedPacket to |
+ // the corresponding RetransmittableFrames if any frames are to be |
// retransmitted. |
SerializedPacket SerializePacket(); |
@@ -214,7 +214,7 @@ class NET_EXPORT_PRIVATE QuicPacketCreator : public QuicFecBuilderInterface { |
void set_max_packet_length(size_t length) { |
// |max_packet_length_| should not be changed mid-packet or mid-FEC group. |
- DCHECK(fec_group_.get() == NULL && queued_frames_.empty()); |
+ DCHECK(fec_group_.get() == nullptr && queued_frames_.empty()); |
max_packet_length_ = length; |
} |