Index: net/quic/quic_packet_creator_test.cc |
diff --git a/net/quic/quic_packet_creator_test.cc b/net/quic/quic_packet_creator_test.cc |
index 6cd2684223bfd817eae493b691dace331028d61d..fc6b7a23212e5c0116f49c5f94dc12dce3b269ac 100644 |
--- a/net/quic/quic_packet_creator_test.cc |
+++ b/net/quic/quic_packet_creator_test.cc |
@@ -140,8 +140,8 @@ class QuicPacketCreatorTest : public ::testing::TestWithParam<TestParams> { |
~QuicPacketCreatorTest() override {} |
SerializedPacket SerializeAllFrames(const QuicFrames& frames) { |
- SerializedPacket packet = |
- creator_.SerializeAllFrames(frames, buffer_, kMaxPacketSize); |
+ SerializedPacket packet = QuicPacketCreatorPeer::SerializeAllFrames( |
+ &creator_, frames, buffer_, kMaxPacketSize); |
EXPECT_EQ(QuicPacketCreatorPeer::GetEncryptionLevel(&creator_), |
packet.encryption_level); |
return packet; |