Index: net/quic/test_tools/mock_quic_dispatcher.cc |
diff --git a/net/quic/test_tools/mock_quic_dispatcher.cc b/net/quic/test_tools/mock_quic_dispatcher.cc |
index a31365198c872028f4b66dbaa5d13d3d8d56c83c..80c41f87490fad89e45a4bff507b78b218f58e1a 100644 |
--- a/net/quic/test_tools/mock_quic_dispatcher.cc |
+++ b/net/quic/test_tools/mock_quic_dispatcher.cc |
@@ -12,8 +12,11 @@ namespace test { |
MockQuicDispatcher::MockQuicDispatcher( |
const QuicConfig& config, |
const QuicCryptoServerConfig* crypto_config, |
- QuicConnectionHelperInterface* helper) |
- : QuicDispatcher(config, crypto_config, QuicSupportedVersions(), helper) {} |
+ std::unique_ptr<QuicConnectionHelperInterface> helper) |
+ : QuicDispatcher(config, |
+ crypto_config, |
+ QuicSupportedVersions(), |
+ std::move(helper)) {} |
MockQuicDispatcher::~MockQuicDispatcher() {} |