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

Unified Diff: tracing/tracing/extras/chrome/estimated_input_latency.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 9 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/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:

Powered by Google App Engine
This is Rietveld 408576698