Index: net/quic/test_tools/quic_test_utils.cc |
diff --git a/net/quic/test_tools/quic_test_utils.cc b/net/quic/test_tools/quic_test_utils.cc |
index 62a891b9369986122adeb60661427dc1f1c41ffd..9b54f94030af0d0365bccee4af8f661ee77e6671 100644 |
--- a/net/quic/test_tools/quic_test_utils.cc |
+++ b/net/quic/test_tools/quic_test_utils.cc |
@@ -230,8 +230,8 @@ MockConnection::MockConnection(bool is_server) |
IPEndPoint(TestPeerIPAddress(), kTestPort), |
new testing::NiceMock<MockHelper>(), |
new testing::NiceMock<MockPacketWriter>(), |
+ true /* owns_writer */, |
is_server, QuicSupportedVersions()), |
- writer_(QuicConnectionPeer::GetWriter(this)), |
helper_(helper()) { |
} |
@@ -240,8 +240,8 @@ MockConnection::MockConnection(IPEndPoint address, |
: QuicConnection(kTestConnectionId, address, |
new testing::NiceMock<MockHelper>(), |
new testing::NiceMock<MockPacketWriter>(), |
+ true /* owns_writer */, |
is_server, QuicSupportedVersions()), |
- writer_(QuicConnectionPeer::GetWriter(this)), |
helper_(helper()) { |
} |
@@ -251,8 +251,8 @@ MockConnection::MockConnection(QuicConnectionId connection_id, |
IPEndPoint(TestPeerIPAddress(), kTestPort), |
new testing::NiceMock<MockHelper>(), |
new testing::NiceMock<MockPacketWriter>(), |
+ true /* owns_writer */, |
is_server, QuicSupportedVersions()), |
- writer_(QuicConnectionPeer::GetWriter(this)), |
helper_(helper()) { |
} |
@@ -262,8 +262,8 @@ MockConnection::MockConnection(bool is_server, |
IPEndPoint(TestPeerIPAddress(), kTestPort), |
new testing::NiceMock<MockHelper>(), |
new testing::NiceMock<MockPacketWriter>(), |
+ true /* owns_writer */, |
is_server, supported_versions), |
- writer_(QuicConnectionPeer::GetWriter(this)), |
helper_(helper()) { |
} |