Clean up QuicTransportVersion use
This CL does not change any behavior, it simply replaces some uses of QuicTransportVersion with ParsedQuicVersion. This is another step towards removing access to QuicTransportVersion in favor of ParsedQuicVersion.
PiperOrigin-RevId: 345274837
Change-Id: I2edf3620e966d6ffac3a78441850dbe7570054ab
diff --git a/quic/test_tools/fuzzing/quic_framer_process_data_packet_fuzzer.cc b/quic/test_tools/fuzzing/quic_framer_process_data_packet_fuzzer.cc
index 2ceef38..a5f7b74 100644
--- a/quic/test_tools/fuzzing/quic_framer_process_data_packet_fuzzer.cc
+++ b/quic/test_tools/fuzzing/quic_framer_process_data_packet_fuzzer.cc
@@ -48,7 +48,7 @@
PacketHeaderFormat ConsumePacketHeaderFormat(FuzzedDataProvider* provider,
ParsedQuicVersion version) {
- if (!VersionHasIetfInvariantHeader(version.transport_version)) {
+ if (!version.HasIetfInvariantHeader()) {
return quic::GOOGLE_QUIC_PACKET;
}
return provider->ConsumeBool() ? quic::IETF_QUIC_LONG_HEADER_PACKET