| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PageMemory_h | 5 #ifndef PageMemory_h |
| 6 #define PageMemory_h | 6 #define PageMemory_h |
| 7 | 7 |
| 8 #include "platform/heap/HeapPage.h" | 8 #include "platform/heap/HeapPage.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "platform/wtf/Allocator.h" |
| 10 #include "wtf/Assertions.h" | 10 #include "platform/wtf/Assertions.h" |
| 11 #include "wtf/Compiler.h" | 11 #include "platform/wtf/Compiler.h" |
| 12 #include "wtf/allocator/Partitions.h" | 12 #include "platform/wtf/allocator/Partitions.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class RegionTree; | 16 class RegionTree; |
| 17 class RegionTreeNode; | 17 class RegionTreeNode; |
| 18 | 18 |
| 19 class MemoryRegion { | 19 class MemoryRegion { |
| 20 USING_FAST_MALLOC(MemoryRegion); | 20 USING_FAST_MALLOC(MemoryRegion); |
| 21 | 21 |
| 22 public: | 22 public: |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 private: | 208 private: |
| 209 PageMemory(PageMemoryRegion* reserved, const MemoryRegion& writable); | 209 PageMemory(PageMemoryRegion* reserved, const MemoryRegion& writable); |
| 210 | 210 |
| 211 PageMemoryRegion* m_reserved; | 211 PageMemoryRegion* m_reserved; |
| 212 MemoryRegion m_writable; | 212 MemoryRegion m_writable; |
| 213 }; | 213 }; |
| 214 | 214 |
| 215 } // namespace blink | 215 } // namespace blink |
| 216 | 216 |
| 217 #endif | 217 #endif |
| OLD | NEW |