| Index: src/heap-snapshot-generator.cc
|
| diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc
|
| index 7e74d86ae3a8973992f9ee8ac596e6c59e9241e1..79a1516412876ce898853d652969e35f8228a726 100644
|
| --- a/src/heap-snapshot-generator.cc
|
| +++ b/src/heap-snapshot-generator.cc
|
| @@ -747,8 +747,7 @@ size_t HeapObjectsMap::GetUsedMemorySize() const {
|
|
|
|
|
| HeapSnapshotsCollection::HeapSnapshotsCollection(Heap* heap)
|
| - : is_tracking_objects_(false),
|
| - names_(heap),
|
| + : names_(heap),
|
| ids_(heap),
|
| allocation_tracker_(NULL) {
|
| }
|
| @@ -770,7 +769,6 @@ void HeapSnapshotsCollection::StartHeapObjectsTracking() {
|
| if (allocation_tracker_ == NULL) {
|
| allocation_tracker_ = new AllocationTracker(&ids_, names());
|
| }
|
| - is_tracking_objects_ = true;
|
| }
|
|
|
|
|
| @@ -785,7 +783,6 @@ void HeapSnapshotsCollection::StopHeapObjectsTracking() {
|
|
|
| HeapSnapshot* HeapSnapshotsCollection::NewSnapshot(const char* name,
|
| unsigned uid) {
|
| - is_tracking_objects_ = true; // Start watching for heap objects moves.
|
| return new HeapSnapshot(this, name, uid);
|
| }
|
|
|
|
|