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

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

Issue 1609943003: Make platform/heap to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/heap/PageMemory.h
diff --git a/third_party/WebKit/Source/platform/heap/PageMemory.h b/third_party/WebKit/Source/platform/heap/PageMemory.h
index 51cfe9adfd0a5144f4a0d83127fbb31728c9a1c7..61b7038743f502188ed2a2fea67a378c927a6e85 100644
--- a/third_party/WebKit/Source/platform/heap/PageMemory.h
+++ b/third_party/WebKit/Source/platform/heap/PageMemory.h
@@ -6,6 +6,7 @@
#define PageMemory_h
#include "platform/heap/HeapPage.h"
+#include "wtf/Allocator.h"
#include "wtf/Assertions.h"
#include "wtf/PageAllocator.h"
@@ -17,6 +18,7 @@
namespace blink {
class MemoryRegion {
+ USING_FAST_MALLOC(MemoryRegion);
public:
MemoryRegion(Address base, size_t size)
: m_base(base)
@@ -118,6 +120,7 @@ private:
// A RegionTree is a simple binary search tree of PageMemoryRegions sorted
// by base addresses.
class RegionTree {
+ USING_FAST_MALLOC(RegionTree);
public:
explicit RegionTree(PageMemoryRegion* region)
: m_region(region)
@@ -160,6 +163,7 @@ private:
//
// Guard pages are created before and after the writable memory.
class PageMemory {
+ USING_FAST_MALLOC(PageMemory);
public:
~PageMemory()
{
« no previous file with comments | « third_party/WebKit/Source/platform/heap/MarkingVisitorImpl.h ('k') | third_party/WebKit/Source/platform/heap/PagePool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698