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

Unified Diff: third_party/WebKit/Source/platform/heap/HeapPage.h

Issue 2518253002: Move Partition Allocator into Chromium base. (Closed)
Patch Set: Move OOM_CRASH into its own, more specific header. Fixes Windows build. Created 4 years 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 side-by-side diff with in-line comments
Download patch
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 3a43031bba9374f1cfc581d758a89aa01ccb96b8..69d369dc9ef587180b79c1c9ae17260cbd4b794c 100644
--- a/third_party/WebKit/Source/platform/heap/HeapPage.h
+++ b/third_party/WebKit/Source/platform/heap/HeapPage.h
@@ -42,7 +42,7 @@
#include "wtf/Assertions.h"
#include "wtf/ContainerAnnotations.h"
#include "wtf/Forward.h"
-#include "wtf/allocator/PageAllocator.h"
+#include "wtf/allocator/Partitions.h"
#include <stdint.h>
namespace blink {
@@ -65,7 +65,7 @@ const size_t blinkPagesPerRegion = 10;
// (whose size is 128 KB). So we don't use guard pages in NaCl.
const size_t blinkGuardPageSize = 0;
#else
-const size_t blinkGuardPageSize = WTF::kSystemPageSize;
+const size_t blinkGuardPageSize = base::kSystemPageSize;
#endif
// Double precision floats are more efficient when 8 byte aligned, so we 8 byte

Powered by Google App Engine
This is Rietveld 408576698