Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Unified Diff: net/quic/quic_simple_buffer_allocator.cc

Issue 1577473002: relnote: QUIC streamable frames can now use a freelist for their packet buffers, Guarded by gfe2_fe… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@19_CL_111440524
Patch Set: cast to size_t Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_simple_buffer_allocator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_simple_buffer_allocator.cc
diff --git a/net/quic/quic_simple_buffer_allocator.cc b/net/quic/quic_simple_buffer_allocator.cc
index 5dae280d7e3a7362e9d799998f6c0fd4cba14939..991b2dbb341d9beaa30f1cd53456473d2b3e390b 100644
--- a/net/quic/quic_simple_buffer_allocator.cc
+++ b/net/quic/quic_simple_buffer_allocator.cc
@@ -5,11 +5,14 @@
#include "net/quic/quic_simple_buffer_allocator.h"
namespace net {
-
char* SimpleBufferAllocator::New(size_t size) {
return new char[size];
}
+char* SimpleBufferAllocator::New(size_t size, bool /* flag_enable */) {
+ return New(size);
+}
+
void SimpleBufferAllocator::Delete(char* buffer) {
delete[] buffer;
}
« no previous file with comments | « net/quic/quic_simple_buffer_allocator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698