| Index: third_party/tcmalloc/chromium/src/common.h
|
| diff --git a/third_party/tcmalloc/chromium/src/common.h b/third_party/tcmalloc/chromium/src/common.h
|
| index c8ceb61ca6ea64fd02e8236840cf91ca42a6844f..6e3d6957ae136d39492700683c27988ac12bbbab 100644
|
| --- a/third_party/tcmalloc/chromium/src/common.h
|
| +++ b/third_party/tcmalloc/chromium/src/common.h
|
| @@ -144,6 +144,10 @@ inline Length pages(size_t bytes) {
|
| ((bytes & (kPageSize - 1)) > 0 ? 1 : 0);
|
| }
|
|
|
| +// For security reasons, we want to limit the size of contiguous allocations.
|
| +// See crbug.com/169327.
|
| +bool IsContiguousAllocSizePermitted(size_t alloc_size);
|
| +
|
| // For larger allocation sizes, we use larger memory alignments to
|
| // reduce the number of size classes.
|
| int AlignmentForSize(size_t size);
|
|
|