Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index 3ac17414a022419b1d80bfe2b646a5f5359ac4c1..cbe8d4459c0cc91458f1eea275ad731fa91e4ab3 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -34,10 +34,10 @@ class NamedEntriesDetector { |
CheckEntry(root); |
while (!list.is_empty()) { |
i::HeapEntry* entry = list.RemoveLast(); |
- i::Vector<i::HeapGraphEdge> children = entry->children(); |
+ i::Vector<i::HeapGraphEdge*> children = entry->children(); |
for (int i = 0; i < children.length(); ++i) { |
- if (children[i].type() == i::HeapGraphEdge::kShortcut) continue; |
- i::HeapEntry* child = children[i].to(); |
+ if (children[i]->type() == i::HeapGraphEdge::kShortcut) continue; |
+ i::HeapEntry* child = children[i]->to(); |
if (!child->painted()) { |
list.Add(child); |
child->paint(); |