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

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

Issue 1609943003: Make platform/heap to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compile error 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/PagePool.h
diff --git a/third_party/WebKit/Source/platform/heap/PagePool.h b/third_party/WebKit/Source/platform/heap/PagePool.h
index c33a8e22c4b9f00ea79d66b67f2e7dbc70d08330..34633ed4db49a51d3b6acd78c9fd154f6446a75b 100644
--- a/third_party/WebKit/Source/platform/heap/PagePool.h
+++ b/third_party/WebKit/Source/platform/heap/PagePool.h
@@ -6,6 +6,7 @@
#define PagePool_h
#include "platform/heap/ThreadState.h"
+#include "wtf/Allocator.h"
#include "wtf/ThreadingPrimitives.h"
namespace blink {
@@ -15,6 +16,7 @@ class PageMemory;
template<typename DataType>
class PagePool {
+ USING_FAST_MALLOC(PagePool);
protected:
PagePool()
{
@@ -23,6 +25,7 @@ protected:
}
class PoolEntry {
+ USING_FAST_MALLOC(PoolEntry);
public:
PoolEntry(DataType* data, PoolEntry* next)
: data(data)

Powered by Google App Engine
This is Rietveld 408576698