Index: net/tools/quic/quic_simple_server.cc |
diff --git a/net/tools/quic/quic_simple_server.cc b/net/tools/quic/quic_simple_server.cc |
index ecc15dc6547d70d44a36211c41660c9c997f16c2..765745bcdad6f71ba3ea8b448da3dcad6a50a485 100644 |
--- a/net/tools/quic/quic_simple_server.cc |
+++ b/net/tools/quic/quic_simple_server.cc |
@@ -37,7 +37,8 @@ class SimpleQuicDispatcher : public QuicDispatcher { |
const QuicCryptoServerConfig* crypto_config, |
const QuicVersionVector& supported_versions, |
QuicConnectionHelperInterface* helper) |
- : QuicDispatcher(config, crypto_config, supported_versions, helper) {} |
+ : QuicDispatcher(config, crypto_config, supported_versions, |
+ std::unique_ptr<QuicConnectionHelperInterface>(helper)) {} |
protected: |
QuicServerSessionBase* CreateQuicSession( |