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

Unified Diff: tracing/tracing/metrics/system_health/utils.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: Fix test 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 459f955f6c2a356fa79f552ba02187f9c1ab4b7b..a9bf8a674ade79eb04ce4b7877d0f54adccd3ad7 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