Index: net/tools/quic/quic_epoll_connection_helper_test.cc |
diff --git a/net/tools/quic/quic_epoll_connection_helper_test.cc b/net/tools/quic/quic_epoll_connection_helper_test.cc |
index bfef189679f9ca5575170fe4d582af0f7f1a249f..9bbb6f2be2e86696c6c6a8aa8572d854286e09f1 100644 |
--- a/net/tools/quic/quic_epoll_connection_helper_test.cc |
+++ b/net/tools/quic/quic_epoll_connection_helper_test.cc |
@@ -39,7 +39,7 @@ class TestConnectionHelper : public QuicEpollConnectionHelper { |
virtual int WritePacketToWire(const QuicEncryptedPacket& packet, |
int* error) OVERRIDE { |
- QuicFramer framer(kQuicVersion1, QuicTime::Zero(), true); |
+ QuicFramer framer(QuicVersionMax(), QuicTime::Zero(), true); |
FramerVisitorCapturingFrames visitor; |
framer.set_visitor(&visitor); |
EXPECT_TRUE(framer.ProcessPacket(packet)); |
@@ -59,7 +59,7 @@ class TestConnection : public QuicConnection { |
TestConnection(QuicGuid guid, |
IPEndPoint address, |
TestConnectionHelper* helper) |
- : QuicConnection(guid, address, helper, false) { |
+ : QuicConnection(guid, address, helper, false, QuicVersionMax()) { |
} |
void SendAck() { |
@@ -77,7 +77,7 @@ class QuicConnectionHelperTest : public ::testing::Test { |
protected: |
QuicConnectionHelperTest() |
: guid_(42), |
- framer_(kQuicVersion1, QuicTime::Zero(), false), |
+ framer_(QuicVersionMax(), QuicTime::Zero(), false), |
send_algorithm_(new testing::StrictMock<MockSendAlgorithm>), |
helper_(new TestConnectionHelper(0, &epoll_server_)), |
connection_(guid_, IPEndPoint(), helper_), |