Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Unified Diff: tracing/tracing/extras/tquery/tquery.html

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
},
« no previous file with comments | « tracing/tracing/extras/importer/linux_perf/ftrace_importer.html ('k') | tracing/tracing/extras/vsync/vsync_auditor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698