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

Unified Diff: tracing/tracing/model/selectable_item.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
« no previous file with comments | « tracing/tracing/model/resource_usage_series_test.html ('k') | tracing/tracing/model/slice.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/selectable_item.html
diff --git a/tracing/tracing/model/selectable_item.html b/tracing/tracing/model/selectable_item.html
index 446d9214715d662bf567d63e8421eae798291132..7f7dd01421ea7d3258d2daf98c565f6e250ff665 100644
--- a/tracing/tracing/model/selectable_item.html
+++ b/tracing/tracing/model/selectable_item.html
@@ -39,15 +39,13 @@ tr.exportTo('tr.model', function() {
addToSelection: function(selection) {
var modelItem = this.modelItem_;
- if (!modelItem)
- return;
+ if (!modelItem) return;
selection.push(modelItem);
},
addToTrackMap: function(eventToTrackMap, track) {
var modelItem = this.modelItem_;
- if (!modelItem)
- return;
+ if (!modelItem) return;
eventToTrackMap.addEvent(modelItem, track);
}
};
« no previous file with comments | « tracing/tracing/model/resource_usage_series_test.html ('k') | tracing/tracing/model/slice.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698