| Index: src/heap-snapshot-generator.cc
|
| diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc
|
| index a27f4194587f0f8705c4ee2f938f2b92d07feef4..f1bdc71cca03dc3cf1d0277d65a5f2997595f495 100644
|
| --- a/src/heap-snapshot-generator.cc
|
| +++ b/src/heap-snapshot-generator.cc
|
| @@ -323,7 +323,8 @@ List<HeapEntry*>* HeapSnapshot::GetSortedEntriesList() {
|
| for (int i = 0; i < entries_.length(); ++i) {
|
| sorted_entries_[i] = &entries_[i];
|
| }
|
| - sorted_entries_.Sort(SortByIds);
|
| + sorted_entries_.Sort<int (*)(HeapEntry* const*, HeapEntry* const*)>(
|
| + SortByIds);
|
| }
|
| return &sorted_entries_;
|
| }
|
|
|