Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/Node.h |
| diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h |
| index fd8a9391402c48a11a13615cb316c254d135f19d..1e010180f1f141aa45db6a154a9b6061685db729 100644 |
| --- a/third_party/WebKit/Source/core/dom/Node.h |
| +++ b/third_party/WebKit/Source/core/dom/Node.h |
| @@ -184,7 +184,8 @@ public: |
| static void* allocateObject(size_t size, bool isEager) |
| { |
| ThreadState* state = ThreadStateFor<ThreadingTrait<Node>::Affinity>::state(); |
| - return Heap::allocateOnHeapIndex(state, size, isEager ? BlinkGC::EagerSweepHeapIndex : BlinkGC::NodeHeapIndex, GCInfoTrait<EventTarget>::index()); |
| + const char* typeName = WTF_HEAP_PROFILER_TYPE_NAME(Node); |
|
Primiano Tucci (use gerrit)
2016/02/29 17:23:14
ditto here
hajimehoshi
2016/03/03 10:12:31
Done.
|
| + return Heap::allocateOnHeapIndex(state, size, isEager ? BlinkGC::EagerSweepHeapIndex : BlinkGC::NodeHeapIndex, GCInfoTrait<EventTarget>::index(), typeName); |
| } |
| #else // !ENABLE(OILPAN) |
| // All Nodes are placed in their own heap partition for security. |