Fix 2 clang-tidy findings in third_party/quic.
gfe-relnote: (n/a) Clang-tidy fixes in tests. Not protected.
PiperOrigin-RevId: 276493363
Change-Id: Ibd7080e430dd88a23e9b74eaba122aee94f2153e
diff --git a/quic/core/http/quic_headers_stream_test.cc b/quic/core/http/quic_headers_stream_test.cc
index f61d9ad..83acfe7 100644
--- a/quic/core/http/quic_headers_stream_test.cc
+++ b/quic/core/http/quic_headers_stream_test.cc
@@ -306,7 +306,7 @@
} else {
EXPECT_CALL(visitor_,
OnHeaders(stream_id, !kHasPriority,
- /*priority=*/0,
+ /*weight=*/0,
/*parent_stream_id=*/0,
/*exclusive=*/false, fin, kFrameComplete));
}
diff --git a/quic/core/quic_dispatcher_test.cc b/quic/core/quic_dispatcher_test.cc
index f7f40e1..c20fe94 100644
--- a/quic/core/quic_dispatcher_test.cc
+++ b/quic/core/quic_dispatcher_test.cc
@@ -2091,8 +2091,8 @@
/*connection_id=*/TestConnectionId(1)));
// CHLO on connection 1 should still be buffered.
- ProcessPacket(client_addr_, /*connection_id=*/TestConnectionId(1), true,
- SerializeFullCHLO());
+ ProcessPacket(client_addr_, /*server_connection_id=*/TestConnectionId(1),
+ true, SerializeFullCHLO());
EXPECT_TRUE(store->HasChloForConnection(
/*connection_id=*/TestConnectionId(1)));
}