Index: tracing/tracing/ui/tracks/container_track.html |
diff --git a/tracing/tracing/ui/tracks/container_track.html b/tracing/tracing/ui/tracks/container_track.html |
index 2f3388de36e95bcb91ac0cb5c1a70a77f8bca235..7139b86ee303584cd030611cffbb54cb6f13bec7 100644 |
--- a/tracing/tracing/ui/tracks/container_track.html |
+++ b/tracing/tracing/ui/tracks/container_track.html |
@@ -35,8 +35,9 @@ tr.exportTo('tr.ui.tracks', function() { |
get tracks_() { |
var tracks = []; |
for (var i = 0; i < this.children.length; i++) { |
- if (this.children[i] instanceof tr.ui.tracks.Track) |
+ if (this.children[i] instanceof tr.ui.tracks.Track) { |
tracks.push(this.children[i]); |
+ } |
} |
return tracks; |
}, |
@@ -65,9 +66,10 @@ tr.exportTo('tr.ui.tracks', function() { |
var trackClientRect = this.tracks_[i].getBoundingClientRect(); |
var a = Math.max(loY, trackClientRect.top); |
var b = Math.min(hiY, trackClientRect.bottom); |
- if (a <= b) |
+ if (a <= b) { |
this.tracks_[i].addIntersectingEventsInRangeToSelection( |
loVX, hiVX, loY, hiY, selection); |
+ } |
} |
tr.ui.tracks.Track.prototype.addIntersectingEventsInRangeToSelection. |
@@ -81,9 +83,10 @@ tr.exportTo('tr.ui.tracks', function() { |
}, |
addAllEventsMatchingFilterToSelection: function(filter, selection) { |
- for (var i = 0; i < this.tracks_.length; i++) |
+ for (var i = 0; i < this.tracks_.length; i++) { |
this.tracks_[i].addAllEventsMatchingFilterToSelection( |
filter, selection); |
+ } |
}, |
addAllEventsMatchingFilterToSelectionAsTask: function(filter, selection) { |