| Index: tracing/tracing/value/ui/diagnostic_map_table.html
|
| diff --git a/tracing/tracing/value/ui/diagnostic_map_table.html b/tracing/tracing/value/ui/diagnostic_map_table.html
|
| index 847c5437ef8b16ae9c47be773e85dee28b5701b1..dc8cdf7574294d94e948dbf9124f260b1084c4d1 100644
|
| --- a/tracing/tracing/value/ui/diagnostic_map_table.html
|
| +++ b/tracing/tracing/value/ui/diagnostic_map_table.html
|
| @@ -45,11 +45,10 @@ found in the LICENSE file.
|
| }
|
|
|
| var columnTitles = new Set();
|
| - for (var map of this.diagnosticMaps_) {
|
| - map.forEach(function(name, diagnostic) {
|
| + for (var map of this.diagnosticMaps_)
|
| + for (var [name, diagnostic] of map)
|
| columnTitles.add(name);
|
| - });
|
| - }
|
| +
|
| columnTitles = [...columnTitles].sort();
|
|
|
| var columns = [];
|
| @@ -61,9 +60,8 @@ found in the LICENSE file.
|
| }
|
| };
|
| }
|
| - for (var title of columnTitles) {
|
| + for (var title of columnTitles)
|
| columns.push(makeColumn(title));
|
| - }
|
|
|
| this.$.table.tableColumns = columns;
|
| this.$.table.tableRows = this.diagnosticMaps_;
|
|
|