| Index: net/quic/quic_chromium_connection_helper.h
|
| diff --git a/net/quic/quic_chromium_connection_helper.h b/net/quic/quic_chromium_connection_helper.h
|
| index 2b0464945d9fe80a7df4f614dd3f29a80baff80f..288d595b0791893ed5748d7e7f1e8dbf2818f936 100644
|
| --- a/net/quic/quic_chromium_connection_helper.h
|
| +++ b/net/quic/quic_chromium_connection_helper.h
|
| @@ -13,9 +13,9 @@
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "net/base/ip_endpoint.h"
|
| +#include "net/quic/quic_buffer_pool.h"
|
| #include "net/quic/quic_connection.h"
|
| #include "net/quic/quic_protocol.h"
|
| -#include "net/quic/quic_simple_buffer_allocator.h"
|
| #include "net/quic/quic_time.h"
|
| #include "net/udp/datagram_client_socket.h"
|
|
|
| @@ -46,7 +46,8 @@ class NET_EXPORT_PRIVATE QuicChromiumConnectionHelper
|
| base::TaskRunner* task_runner_;
|
| const QuicClock* clock_;
|
| QuicRandom* random_generator_;
|
| - SimpleBufferAllocator buffer_allocator_;
|
| + // Create a buffer free list using no more than 8 * 8MB memory.
|
| + QuicBufferPool<kMaxPacketSize, 8> buffer_allocator_;
|
| base::WeakPtrFactory<QuicChromiumConnectionHelper> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(QuicChromiumConnectionHelper);
|
|
|