Index: net/tools/quic/quic_server.cc |
diff --git a/net/tools/quic/quic_server.cc b/net/tools/quic/quic_server.cc |
index af7d7a828de6a46542410f742e57a647824779df..d0048d464c0f72f9f970605638a34173f5f1f986 100644 |
--- a/net/tools/quic/quic_server.cc |
+++ b/net/tools/quic/quic_server.cc |
@@ -144,9 +144,10 @@ QuicDefaultPacketWriter* QuicServer::CreateWriter(int fd) { |
} |
QuicDispatcher* QuicServer::CreateQuicDispatcher() { |
- return new QuicDispatcher(config_, &crypto_config_, supported_versions_, |
- new QuicEpollConnectionHelper( |
- &epoll_server_, QuicAllocator::BUFFER_POOL)); |
+ return new QuicDispatcher( |
+ config_, &crypto_config_, supported_versions_, |
+ std::unique_ptr<QuicEpollConnectionHelper>(new QuicEpollConnectionHelper( |
+ &epoll_server_, QuicAllocator::BUFFER_POOL))); |
} |
void QuicServer::WaitForEvents() { |