gfe-relnote: n/a(clean up) Switch existing directly access of FLAGS to use
GetQuicFlag.
PiperOrigin-RevId: 253024482
Change-Id: I191413c821c8e91a15e9fce6ac36bb94e1a87ccf
diff --git a/quic/core/quic_buffered_packet_store.cc b/quic/core/quic_buffered_packet_store.cc
index 463cdc4..e4dd233 100644
--- a/quic/core/quic_buffered_packet_store.cc
+++ b/quic/core/quic_buffered_packet_store.cc
@@ -88,7 +88,7 @@
bool is_chlo,
const std::string& alpn,
const ParsedQuicVersion& version) {
- QUIC_BUG_IF(!FLAGS_quic_allow_chlo_buffering)
+ QUIC_BUG_IF(!GetQuicFlag(FLAGS_quic_allow_chlo_buffering))
<< "Shouldn't buffer packets if disabled via flag.";
QUIC_BUG_IF(is_chlo && QuicContainsKey(connections_with_chlo_, connection_id))
<< "Shouldn't buffer duplicated CHLO on connection " << connection_id;