Chromium Code Reviews| Index: third_party/WebKit/Source/platform/heap/PagePool.h |
| diff --git a/third_party/WebKit/Source/platform/heap/PagePool.h b/third_party/WebKit/Source/platform/heap/PagePool.h |
| index 0d6515ce133c8d689d1a15bbda9146e59866085d..ae4976acb8826cee002bac2a619ed05fdaca266e 100644 |
| --- a/third_party/WebKit/Source/platform/heap/PagePool.h |
| +++ b/third_party/WebKit/Source/platform/heap/PagePool.h |
| @@ -11,7 +11,6 @@ |
| namespace blink { |
| -class BasePage; |
| class PageMemory; |
| template <typename DataType> |
|
sof
2017/02/08 11:58:08
we can drop the parameterization of PagePool<> now
haraken
2017/02/08 11:59:54
Good point. Let me do that in a follow-up.
|
| @@ -55,30 +54,6 @@ class FreePagePool : public PagePool<PageMemory> { |
| Mutex m_mutex[BlinkGC::NumberOfArenas]; |
| }; |
| -class OrphanedPagePool : public PagePool<BasePage> { |
| - public: |
| - // The orphaned zap value must be zero in the lowest bits to allow for |
| - // using the mark bit when tracing. |
| - static const uint8_t orphanedZapValue = 0xdc; |
| - |
| - ~OrphanedPagePool(); |
| - void addOrphanedPage(int, BasePage*); |
| - void decommitOrphanedPages(); |
| -#if DCHECK_IS_ON() |
| - bool contains(void*); |
| -#endif |
| - |
| - // For orphaned pages, we need to memset with ASan disabled, because |
| - // the orphaned pages can still contain poisoned memory or annotated |
| - // container but we want to forcibly clear the orphaned pages without |
| - // causing ASan errors. asanDisabledMemset must not be used for |
| - // non-orphaned pages. |
| - static void asanDisabledMemset(Address, char, size_t); |
| - |
| - private: |
| - void clearMemory(PageMemory*); |
| -}; |
| - |
| } // namespace blink |
| #endif |