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

Unified Diff: tracing/tracing/ui/extras/side_panel/input_latency_side_panel.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/ui/extras/side_panel/input_latency_side_panel.html
diff --git a/tracing/tracing/ui/extras/side_panel/input_latency_side_panel.html b/tracing/tracing/ui/extras/side_panel/input_latency_side_panel.html
index 45dd1abd5d0d3315b3bd21269d6d2da2274e7e0d..1e494b567078dbeae9e3188e76762495b48322c5 100644
--- a/tracing/tracing/ui/extras/side_panel/input_latency_side_panel.html
+++ b/tracing/tracing/ui/extras/side_panel/input_latency_side_panel.html
@@ -124,10 +124,10 @@ Polymer({
// the timeline view by sending a selectionChange event.
var latencySlices = [];
this.model_.getAllThreads().forEach(function(thread) {
- thread.iterateAllEvents(function(event) {
+ for (var event of thread.getDescendantEvents()) {
if (event.title.indexOf('InputLatency:') === 0)
latencySlices.push(event);
- });
+ }
});
latencySlices = tr.model.helpers.getSlicesIntersectingRange(
r, latencySlices);
« no previous file with comments | « tracing/tracing/ui/extras/side_panel/frame_data_side_panel.html ('k') | tracing/tracing/ui/side_panel/metrics_side_panel.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698