Index: tracing/tracing/model/thread_slice.html |
diff --git a/tracing/tracing/model/thread_slice.html b/tracing/tracing/model/thread_slice.html |
index 9361c4935619ebe30467c024b6e66cc51b01b6c4..a48e4a4cdce914c212ccdfd769cfcda6ab96eafa 100644 |
--- a/tracing/tracing/model/thread_slice.html |
+++ b/tracing/tracing/model/thread_slice.html |
@@ -45,11 +45,13 @@ tr.exportTo('tr.model', function() { |
get overlappingSamples() { |
var samples = new tr.model.EventSet(); |
- if (!this.parentContainer || !this.parentContainer.samples) |
+ if (!this.parentContainer || !this.parentContainer.samples) { |
return samples; |
+ } |
this.parentContainer.samples.forEach(function(sample) { |
- if (this.start <= sample.start && sample.start <= this.end) |
+ if (this.start <= sample.start && sample.start <= this.end) { |
samples.push(sample); |
+ } |
}, this); |
return samples; |
} |