| Index: tracing/tracing/extras/tquery/tquery.html
|
| diff --git a/tracing/tracing/extras/tquery/tquery.html b/tracing/tracing/extras/tquery/tquery.html
|
| index 8953d7e9bddd2aee6770e8ba8dab11432780f757..5ea95d9a22ff9d7a9232fbf628969985bfd62aed 100644
|
| --- a/tracing/tracing/extras/tquery/tquery.html
|
| +++ b/tracing/tracing/extras/tquery/tquery.html
|
| @@ -147,13 +147,12 @@ tr.exportTo('tr.e.tquery', function() {
|
| // model.
|
| selectEverythingAsTask_: function(selection) {
|
| var filterTask = new tr.b.Task();
|
| - this.model_.iterateAllEventContainers(function(container) {
|
| - filterTask.subTask(function() {
|
| - container.iterateAllEventsInThisContainer(
|
| - function() { return true; },
|
| - addEventTreeToSelection.bind(undefined, selection));
|
| + for (var container of this.model_.getDescendantEventContainers()) {
|
| + filterTask.subTask(() => {
|
| + for (var event of container.childEvents())
|
| + addEventTreeToSelection(selection, event);
|
| }, this);
|
| - }, this);
|
| + }
|
| return filterTask;
|
| },
|
|
|
|
|