Index: src/heap-snapshot-generator.cc |
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc |
index f959aee00e1eabf8f3fb109ea29923a24483d814..186161b5cce554abfdc4ac4a54f72d466a5dc951 100644 |
--- a/src/heap-snapshot-generator.cc |
+++ b/src/heap-snapshot-generator.cc |
@@ -572,7 +572,6 @@ size_t HeapObjectsMap::GetUsedMemorySize() const { |
HeapSnapshotsCollection::HeapSnapshotsCollection(Heap* heap) |
: is_tracking_objects_(false), |
- token_enumerator_(new TokenEnumerator()), |
ids_(heap) { |
} |
@@ -583,7 +582,6 @@ static void DeleteHeapSnapshot(HeapSnapshot** snapshot_ptr) { |
HeapSnapshotsCollection::~HeapSnapshotsCollection() { |
- delete token_enumerator_; |
snapshots_.Iterate(DeleteHeapSnapshot); |
} |