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

Unified Diff: tracing/tracing/ui/tracks/other_threads_track.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/tracks/other_threads_track.html
diff --git a/tracing/tracing/ui/tracks/other_threads_track.html b/tracing/tracing/ui/tracks/other_threads_track.html
index 7ed62fa0bc6b84a2b1a9b2b13a107f2409f27d91..a71fdd050253b13b1135268a751039bf1f5bf3cd 100644
--- a/tracing/tracing/ui/tracks/other_threads_track.html
+++ b/tracing/tracing/ui/tracks/other_threads_track.html
@@ -68,8 +68,7 @@ tr.exportTo('tr.ui.tracks', function() {
set expanded(expanded) {
expanded = !!expanded;
- if (this.expanded === expanded)
- return;
+ if (this.expanded === expanded) return;
this.header_.expanded = expanded;
@@ -90,8 +89,8 @@ tr.exportTo('tr.ui.tracks', function() {
for (var thread of this.threads_) {
var track = new tr.ui.tracks.ThreadTrack(this.viewport);
track.thread = thread;
- if (!track.hasVisibleContent)
- return;
+ if (!track.hasVisibleContent) return;
+
Polymer.dom(this).appendChild(track);
Polymer.dom(this).appendChild(new SpacingTrack(this.viewport));
}
« no previous file with comments | « tracing/tracing/ui/tracks/object_instance_track.html ('k') | tracing/tracing/ui/tracks/power_series_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698