gfe-relnote: (n/a) Deprecate --gfe2_reloadable_flag_quic_set_transmission_type_for_next_frame.
PiperOrigin-RevId: 244216881
Change-Id: Ie570b14c4d019acb3df7e000eb1209e2d32dddb6
diff --git a/quic/core/quic_packet_generator.cc b/quic/core/quic_packet_generator.cc
index 6efadcf..d3d950c 100644
--- a/quic/core/quic_packet_generator.cc
+++ b/quic/core/quic_packet_generator.cc
@@ -454,7 +454,7 @@
void QuicPacketGenerator::SetTransmissionType(TransmissionType type) {
packet_creator_.SetTransmissionType(type);
- if (packet_creator_.ShouldSetTransmissionTypeForNextFrame()) {
+ if (packet_creator_.can_set_transmission_type()) {
next_transmission_type_ = type;
}
}