| Index: tracing/tracing/extras/chrome/estimated_input_latency.html
|
| diff --git a/tracing/tracing/extras/chrome/estimated_input_latency.html b/tracing/tracing/extras/chrome/estimated_input_latency.html
|
| index 18f07321d997fa87265bc6cfdf1b2b4f05879df9..99a02c76d0432bdafa8d692810a3acf14850855f 100644
|
| --- a/tracing/tracing/extras/chrome/estimated_input_latency.html
|
| +++ b/tracing/tracing/extras/chrome/estimated_input_latency.html
|
| @@ -213,8 +213,9 @@ tr.exportTo('tr.e.chrome', function() {
|
| */
|
| this.firstTaskIndex_ =
|
| sortedTasks.findIndex(task => startTime < task.end);
|
| - if (this.firstTaskIndex_ === -1)
|
| + if (this.firstTaskIndex_ === -1) {
|
| this.firstTaskIndex_ = sortedTasks.length;
|
| + }
|
| /**
|
| * @private {number} The index of the last task in the sortedTasks that
|
| * starts before this window ends:
|
|
|