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

Unified Diff: tracing/tracing/metrics/system_health/utils.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/metrics/system_health/utils.html
diff --git a/tracing/tracing/metrics/system_health/utils.html b/tracing/tracing/metrics/system_health/utils.html
index 5edbb6386a72fee4bd91456b60619244584b9ca9..661edb9b84e473ffd4d83124b0140dee569eed6e 100644
--- a/tracing/tracing/metrics/system_health/utils.html
+++ b/tracing/tracing/metrics/system_health/utils.html
@@ -25,12 +25,12 @@ tr.exportTo('tr.metrics.sh', function() {
function filterExpectationsByRange(irs, opt_range) {
var filteredExpectations = [];
irs.forEach(function(ir) {
- if (!(ir instanceof tr.model.um.UserExpectation))
- return;
+ if (!(ir instanceof tr.model.um.UserExpectation)) return;
if (!opt_range ||
- opt_range.intersectsExplicitRangeInclusive(ir.start, ir.end))
+ opt_range.intersectsExplicitRangeInclusive(ir.start, ir.end)) {
filteredExpectations.push(ir);
+ }
});
return filteredExpectations;
}

Powered by Google App Engine
This is Rietveld 408576698