| Index: src/profile-generator.h
|
| diff --git a/src/profile-generator.h b/src/profile-generator.h
|
| index 1e949a2cfb1106bff670df9a66331f47de390fe4..4206d29f0dd5d2676cd0197e7c6edbdffa9c815d 100644
|
| --- a/src/profile-generator.h
|
| +++ b/src/profile-generator.h
|
| @@ -662,7 +662,7 @@ class HeapSnapshot {
|
| Type type() { return type_; }
|
| const char* title() { return title_; }
|
| unsigned uid() { return uid_; }
|
| - HeapEntry* root() { return entries_[root_entry_index_]; }
|
| + HeapEntry* root() { return root_entry_; }
|
|
|
| void AllocateEntries(
|
| int entries_count, int children_count, int retainers_count);
|
| @@ -704,7 +704,7 @@ class HeapSnapshot {
|
| Type type_;
|
| const char* title_;
|
| unsigned uid_;
|
| - int root_entry_index_;
|
| + HeapEntry* root_entry_;
|
| char* raw_entries_;
|
| List<HeapEntry*> entries_;
|
| bool entries_sorted_;
|
|
|