| Index: net/quic/quic_packet_creator.h
|
| diff --git a/net/quic/quic_packet_creator.h b/net/quic/quic_packet_creator.h
|
| index ecab1e6d745a2d2f8508102d845bf12c5348928b..cd6c587277d00b7a7d4621d76b8a3afc8091e8cb 100644
|
| --- a/net/quic/quic_packet_creator.h
|
| +++ b/net/quic/quic_packet_creator.h
|
| @@ -225,11 +225,10 @@ class NET_EXPORT_PRIVATE QuicPacketCreator : public QuicFecBuilderInterface {
|
| }
|
|
|
| // Sets creator's max number of packets covered by an FEC group.
|
| - void set_max_packets_per_fec_group(size_t max_packets_per_fec_group) {
|
| - // To turn off FEC protection, use StopFecProtectingPackets().
|
| - DCHECK_NE(0u, max_packets_per_fec_group);
|
| - max_packets_per_fec_group_ = max_packets_per_fec_group;
|
| - }
|
| + // Note: While there are no constraints on |max_packets_per_fec_group|,
|
| + // this setter enforces a min value of kLowestMaxPacketsPerFecGroup.
|
| + // To turn off FEC protection, use StopFecProtectingPackets().
|
| + void set_max_packets_per_fec_group(size_t max_packets_per_fec_group);
|
|
|
| private:
|
| friend class test::QuicPacketCreatorPeer;
|
|
|