Index: net/quic/quic_framer_test.cc |
diff --git a/net/quic/quic_framer_test.cc b/net/quic/quic_framer_test.cc |
index 45710c13e3aa9e4205e58c22f7e85cb537170d1c..750f1f36be84a1a9f08ba046ebf22b6c38f24af0 100644 |
--- a/net/quic/quic_framer_test.cc |
+++ b/net/quic/quic_framer_test.cc |
@@ -2924,7 +2924,7 @@ TEST_P(QuicFramerTest, BuildPaddingFramePacket) { |
QuicPaddingFrame padding_frame; |
QuicFrames frames; |
- frames.push_back(QuicFrame(&padding_frame)); |
+ frames.push_back(QuicFrame(padding_frame)); |
// clang-format off |
unsigned char packet[kMaxPacketSize] = { |
@@ -2973,7 +2973,7 @@ TEST_P(QuicFramerTest, Build4ByteSequenceNumberPaddingFramePacket) { |
QuicPaddingFrame padding_frame; |
QuicFrames frames; |
- frames.push_back(QuicFrame(&padding_frame)); |
+ frames.push_back(QuicFrame(padding_frame)); |
// clang-format off |
unsigned char packet[kMaxPacketSize] = { |
@@ -3021,7 +3021,7 @@ TEST_P(QuicFramerTest, Build2ByteSequenceNumberPaddingFramePacket) { |
QuicPaddingFrame padding_frame; |
QuicFrames frames; |
- frames.push_back(QuicFrame(&padding_frame)); |
+ frames.push_back(QuicFrame(padding_frame)); |
// clang-format off |
unsigned char packet[kMaxPacketSize] = { |
@@ -3069,7 +3069,7 @@ TEST_P(QuicFramerTest, Build1ByteSequenceNumberPaddingFramePacket) { |
QuicPaddingFrame padding_frame; |
QuicFrames frames; |
- frames.push_back(QuicFrame(&padding_frame)); |
+ frames.push_back(QuicFrame(padding_frame)); |
// clang-format off |
unsigned char packet[kMaxPacketSize] = { |
@@ -3901,7 +3901,7 @@ TEST_P(QuicFramerTest, BuildBlockedPacket) { |
blocked_frame.stream_id = 0x01020304; |
QuicFrames frames; |
- frames.push_back(QuicFrame(&blocked_frame)); |
+ frames.push_back(QuicFrame(blocked_frame)); |
// clang-format off |
unsigned char packet[] = { |
@@ -3944,7 +3944,7 @@ TEST_P(QuicFramerTest, BuildPingPacket) { |
QuicPingFrame ping_frame; |
QuicFrames frames; |
- frames.push_back(QuicFrame(&ping_frame)); |
+ frames.push_back(QuicFrame(ping_frame)); |
// clang-format off |
unsigned char packet[] = { |
@@ -3986,7 +3986,7 @@ TEST_P(QuicFramerTest, BuildMtuDiscoveryPacket) { |
QuicMtuDiscoveryFrame mtu_discovery_frame; |
QuicFrames frames; |
- frames.push_back(QuicFrame(&mtu_discovery_frame)); |
+ frames.push_back(QuicFrame(mtu_discovery_frame)); |
// clang-format off |
unsigned char packet[] = { |