Index: third_party/WebKit/Source/platform/heap/HeapTest.cpp |
diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
index 965d1bb1e3b2f6fcd88e156f47c11310c52ac003..a3ccc67b4e82c2e055e31c450b43f68979203f0e 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
@@ -775,7 +775,8 @@ public: |
void* operator new(size_t size) |
{ |
ThreadState* state = ThreadState::current(); |
- return Heap::allocateOnHeapIndex(state, size, BlinkGC::NodeHeapIndex, GCInfoTrait<IntNode>::index()); |
+ const char* typeName = WTF_HEAP_PROFILER_TYPE_NAME(IntNode); |
Primiano Tucci (use gerrit)
2016/02/29 17:23:14
don't know how frequent this is, if is significant
sof
2016/03/03 08:37:30
(This is a unit test.)
hajimehoshi
2016/03/03 10:12:31
Since this is a unit test and we don't relatively
|
+ return Heap::allocateOnHeapIndex(state, size, BlinkGC::NodeHeapIndex, GCInfoTrait<IntNode>::index(), typeName); |
} |
static IntNode* create(int i) |