Index: net/quic/quic_connection_test.cc |
diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc |
index 441c46cb5da8691cd8171e307c43cb74e701f88b..30e444e20ed2663e10c3a9c167a3c650c98166b2 100644 |
--- a/net/quic/quic_connection_test.cc |
+++ b/net/quic/quic_connection_test.cc |
@@ -1086,7 +1086,7 @@ TEST_P(QuicConnectionTest, IncreaseServerMaxPacketSize) { |
QuicFrames frames; |
QuicPaddingFrame padding; |
frames.push_back(QuicFrame(&frame1_)); |
- frames.push_back(QuicFrame(&padding)); |
+ frames.push_back(QuicFrame(padding)); |
scoped_ptr<QuicPacket> packet(ConstructPacket(header, frames)); |
char buffer[kMaxPacketSize]; |
scoped_ptr<QuicEncryptedPacket> encrypted(framer_.EncryptPayload( |
@@ -1117,7 +1117,7 @@ TEST_P(QuicConnectionTest, IncreaseServerMaxPacketSizeWhileWriterLimited) { |
QuicFrames frames; |
QuicPaddingFrame padding; |
frames.push_back(QuicFrame(&frame1_)); |
- frames.push_back(QuicFrame(&padding)); |
+ frames.push_back(QuicFrame(padding)); |
scoped_ptr<QuicPacket> packet(ConstructPacket(header, frames)); |
char buffer[kMaxPacketSize]; |
scoped_ptr<QuicEncryptedPacket> encrypted(framer_.EncryptPayload( |
@@ -4023,7 +4023,7 @@ TEST_P(QuicConnectionTest, Blocked) { |
QuicBlockedFrame blocked; |
blocked.stream_id = 3; |
EXPECT_CALL(visitor_, OnBlockedFrame(_)); |
- ProcessFramePacket(QuicFrame(&blocked)); |
+ ProcessFramePacket(QuicFrame(blocked)); |
} |
TEST_P(QuicConnectionTest, ZeroBytePacket) { |
@@ -4770,7 +4770,7 @@ TEST_P(QuicConnectionTest, ControlFramesInstigateAcks) { |
QuicBlockedFrame blocked; |
blocked.stream_id = 3; |
EXPECT_CALL(visitor_, OnBlockedFrame(_)); |
- ProcessFramePacket(QuicFrame(&blocked)); |
+ ProcessFramePacket(QuicFrame(blocked)); |
EXPECT_TRUE(ack_alarm->IsSet()); |
} |