| Index: tracing/tracing/model/cpu_slice.html
|
| diff --git a/tracing/tracing/model/cpu_slice.html b/tracing/tracing/model/cpu_slice.html
|
| index f42704b2463e5858fddf136d44aa18e42d129c0a..290181f8a3229d5b3ba17269ddd2f7ef1c198006 100644
|
| --- a/tracing/tracing/model/cpu_slice.html
|
| +++ b/tracing/tracing/model/cpu_slice.html
|
| @@ -36,15 +36,18 @@ tr.exportTo('tr.model', function() {
|
| },
|
|
|
| getAssociatedTimeslice: function() {
|
| - if (!this.threadThatWasRunning)
|
| + if (!this.threadThatWasRunning) {
|
| return undefined;
|
| + }
|
| var timeSlices = this.threadThatWasRunning.timeSlices;
|
| for (var i = 0; i < timeSlices.length; i++) {
|
| var timeSlice = timeSlices[i];
|
| - if (timeSlice.start !== this.start)
|
| + if (timeSlice.start !== this.start) {
|
| continue;
|
| - if (timeSlice.duration !== this.duration)
|
| + }
|
| + if (timeSlice.duration !== this.duration) {
|
| continue;
|
| + }
|
| return timeSlice;
|
| }
|
| return undefined;
|
|
|