gfe-relnote: Deprecate gfe2_reloadable_flag_quic_fix_get_packet_header_size
PiperOrigin-RevId: 268463387
Change-Id: I5ba9d04c9b4a6b439c85e17e199d8ff76ec7ffa7
diff --git a/quic/core/quic_packets.cc b/quic/core/quic_packets.cc
index c4ef81a..0352056 100644
--- a/quic/core/quic_packets.cc
+++ b/quic/core/quic_packets.cc
@@ -127,12 +127,9 @@
size += kConnectionIdLengthSize;
}
DCHECK(QuicVersionHasLongHeaderLengths(version) ||
- !GetQuicReloadableFlag(quic_fix_get_packet_header_size) ||
retry_token_length_length + retry_token_length + length_length ==
0);
- if (QuicVersionHasLongHeaderLengths(version) ||
- !GetQuicReloadableFlag(quic_fix_get_packet_header_size)) {
- QUIC_RELOADABLE_FLAG_COUNT_N(quic_fix_get_packet_header_size, 1, 3);
+ if (QuicVersionHasLongHeaderLengths(version)) {
size += retry_token_length_length + retry_token_length + length_length;
}
return size;