gfe-relnote: Deprecate gfe2_reloadable_flag_quic_fix_has_pending_crypto_data.
PiperOrigin-RevId: 255951014
Change-Id: Ibf4d9f94a2e2693cacca5bbc6ce0f8d57f59c644
diff --git a/quic/core/quic_session.cc b/quic/core/quic_session.cc
index 5c5d9a6..d7aa91e 100644
--- a/quic/core/quic_session.cc
+++ b/quic/core/quic_session.cc
@@ -1746,15 +1746,7 @@
bool QuicSession::HasUnackedCryptoData() const {
const QuicCryptoStream* crypto_stream = GetCryptoStream();
- if (crypto_stream->IsWaitingForAcks()) {
- return true;
- }
- if (GetQuicReloadableFlag(quic_fix_has_pending_crypto_data) &&
- crypto_stream->HasBufferedData()) {
- QUIC_RELOADABLE_FLAG_COUNT(quic_fix_has_pending_crypto_data);
- return true;
- }
- return false;
+ return crypto_stream->IsWaitingForAcks() || crypto_stream->HasBufferedData();
}
bool QuicSession::HasUnackedStreamData() const {