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

Unified Diff: tracing/tracing/ui/analysis/flow_classifier.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/ui/analysis/flow_classifier.html
diff --git a/tracing/tracing/ui/analysis/flow_classifier.html b/tracing/tracing/ui/analysis/flow_classifier.html
index 8fd8fb0189855f6c796dc399f8527e9e93e79919..55df66d1fc60c3b408348a204adadb871ffaff58 100644
--- a/tracing/tracing/ui/analysis/flow_classifier.html
+++ b/tracing/tracing/ui/analysis/flow_classifier.html
@@ -54,8 +54,9 @@ tr.exportTo('tr.ui.analysis', function() {
var selection = new tr.model.EventSet();
for (var guid in this.eventsByGUID_) {
var fs = this.eventsByGUID_[guid];
- if (fs.state === FLOW_IN)
+ if (fs.state === FLOW_IN) {
selection.push(fs.event);
+ }
}
return selection;
},
@@ -64,8 +65,9 @@ tr.exportTo('tr.ui.analysis', function() {
var selection = new tr.model.EventSet();
for (var guid in this.eventsByGUID_) {
var fs = this.eventsByGUID_[guid];
- if (fs.state === FLOW_OUT)
+ if (fs.state === FLOW_OUT) {
selection.push(fs.event);
+ }
}
return selection;
},
@@ -74,8 +76,9 @@ tr.exportTo('tr.ui.analysis', function() {
var selection = new tr.model.EventSet();
for (var guid in this.eventsByGUID_) {
var fs = this.eventsByGUID_[guid];
- if (fs.state === FLOW_IN_OUT)
+ if (fs.state === FLOW_IN_OUT) {
selection.push(fs.event);
+ }
}
return selection;
}

Powered by Google App Engine
This is Rietveld 408576698