Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: third_party/WebKit/Source/platform/heap/PageMemory.h

Issue 1881983003: Move PartitionAlloc related things into wtf/allocator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "wtf/Allocator.h"
10 #include "wtf/Assertions.h" 10 #include "wtf/Assertions.h"
11 #include "wtf/PageAllocator.h" 11 #include "wtf/allocator/PageAllocator.h"
12 12
13 #if OS(POSIX) 13 #if OS(POSIX)
14 #include <sys/mman.h> 14 #include <sys/mman.h>
15 #include <unistd.h> 15 #include <unistd.h>
16 #endif 16 #endif
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class RegionTree; 20 class RegionTree;
21 class RegionTreeNode; 21 class RegionTreeNode;
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 private: 217 private:
218 PageMemory(PageMemoryRegion* reserved, const MemoryRegion& writable); 218 PageMemory(PageMemoryRegion* reserved, const MemoryRegion& writable);
219 219
220 PageMemoryRegion* m_reserved; 220 PageMemoryRegion* m_reserved;
221 MemoryRegion m_writable; 221 MemoryRegion m_writable;
222 }; 222 };
223 223
224 } // namespace blink 224 } // namespace blink
225 225
226 #endif 226 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698