| Index: third_party/WebKit/Source/platform/heap/HeapPage.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/HeapPage.h b/third_party/WebKit/Source/platform/heap/HeapPage.h
|
| index 7859aabaa223b6f13e899d4cc3af41ba79e748e8..e1f17dea22cd8dd78930fcde1bad120963e296f5 100644
|
| --- a/third_party/WebKit/Source/platform/heap/HeapPage.h
|
| +++ b/third_party/WebKit/Source/platform/heap/HeapPage.h
|
| @@ -720,14 +720,18 @@ public:
|
|
|
| private:
|
| void allocatePage();
|
| - Address lazySweepPages(size_t, size_t gcInfoIndex) override;
|
| Address outOfLineAllocate(size_t allocationSize, size_t gcInfoIndex);
|
| + Address allocateFromFreeList(size_t, size_t gcInfoIndex);
|
| +
|
| + Address lazySweepPages(size_t, size_t gcInfoIndex) override;
|
| +
|
| Address currentAllocationPoint() const { return m_currentAllocationPoint; }
|
| - size_t remainingAllocationSize() const { return m_remainingAllocationSize; }
|
| bool hasCurrentAllocationArea() const { return currentAllocationPoint() && remainingAllocationSize(); }
|
| void setAllocationPoint(Address, size_t);
|
| +
|
| + size_t remainingAllocationSize() const { return m_remainingAllocationSize; }
|
| + void setRemainingAllocationSize(size_t);
|
| void updateRemainingAllocationSize();
|
| - Address allocateFromFreeList(size_t, size_t gcInfoIndex);
|
|
|
| FreeList m_freeList;
|
| Address m_currentAllocationPoint;
|
|
|