| Index: third_party/WebKit/Source/platform/heap/HeapPage.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/HeapPage.cpp b/third_party/WebKit/Source/platform/heap/HeapPage.cpp
|
| index b7d24a5cb246c92056ec108352c14fc458882d81..7ee6108331fb357701cb4a01411e6d6e0585f5e1 100644
|
| --- a/third_party/WebKit/Source/platform/heap/HeapPage.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/HeapPage.cpp
|
| @@ -425,7 +425,7 @@ void NormalPageArena::allocatePage()
|
| //
|
| // [ guard os page | ... payload ... | guard os page ]
|
| // ^---{ aligned to blink page size }
|
| - PageMemoryRegion* region = PageMemoryRegion::allocateNormalPages();
|
| + PageMemoryRegion* region = PageMemoryRegion::allocateNormalPages(Heap::getRegionTree());
|
|
|
| // Setup the PageMemory object for each of the pages in the region.
|
| for (size_t i = 0; i < blinkPagesPerRegion; ++i) {
|
| @@ -815,7 +815,7 @@ Address LargeObjectArena::doAllocateLargeObjectPage(size_t allocationSize, size_
|
| #endif
|
|
|
| getThreadState()->shouldFlushHeapDoesNotContainCache();
|
| - PageMemory* pageMemory = PageMemory::allocate(largeObjectSize);
|
| + PageMemory* pageMemory = PageMemory::allocate(largeObjectSize, Heap::getRegionTree());
|
| Address largeObjectAddress = pageMemory->writableStart();
|
| Address headerAddress = largeObjectAddress + LargeObjectPage::pageHeaderSize();
|
| #if ENABLE(ASSERT)
|
|
|