Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 0bc93c2ff252635e7d5fe4dafcb2b8b06f63eb7d..52a84edfdabf6e797b3d87cd1b2786eb6bfdd5a2 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6063,7 +6063,7 @@ const HeapGraphEdge* HeapGraphNode::GetChild(int index) const { |
i::Isolate* isolate = i::Isolate::Current(); |
IsDeadCheck(isolate, "v8::HeapSnapshot::GetChild"); |
return reinterpret_cast<const HeapGraphEdge*>( |
- &ToInternal(this)->children()[index]); |
+ ToInternal(this)->children()[index]); |
} |
@@ -6157,7 +6157,7 @@ const HeapGraphNode* HeapSnapshot::GetNodeById(SnapshotObjectId id) const { |
int HeapSnapshot::GetNodesCount() const { |
i::Isolate* isolate = i::Isolate::Current(); |
IsDeadCheck(isolate, "v8::HeapSnapshot::GetNodesCount"); |
- return ToInternal(this)->entries()->length(); |
+ return ToInternal(this)->entries().length(); |
} |
@@ -6165,7 +6165,7 @@ const HeapGraphNode* HeapSnapshot::GetNode(int index) const { |
i::Isolate* isolate = i::Isolate::Current(); |
IsDeadCheck(isolate, "v8::HeapSnapshot::GetNode"); |
return reinterpret_cast<const HeapGraphNode*>( |
- ToInternal(this)->entries()->at(index)); |
+ &ToInternal(this)->entries().at(index)); |
} |