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

Unified Diff: tracing/tracing/ui/tracks/kernel_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
« no previous file with comments | « tracing/tracing/ui/tracks/interaction_track.html ('k') | tracing/tracing/ui/tracks/letter_dot_track.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/tracks/kernel_track.html
diff --git a/tracing/tracing/ui/tracks/kernel_track.html b/tracing/tracing/ui/tracks/kernel_track.html
index 4370be568956ec82b148ef6e55f752d75bb86a95..d687f3f3c87384ddcf04b7f7b91d1f85a999285c 100644
--- a/tracing/tracing/ui/tracks/kernel_track.html
+++ b/tracing/tracing/ui/tracks/kernel_track.html
@@ -64,13 +64,13 @@ tr.exportTo('tr.ui.tracks', function() {
var track = new tr.ui.tracks.CpuTrack(this.viewport);
track.detailedMode = this.expanded;
track.cpu = cpu;
- if (!track.hasVisibleContent)
- continue;
+ if (!track.hasVisibleContent) continue;
Polymer.dom(this).appendChild(track);
didAppendAtLeastOneTrack = true;
}
- if (didAppendAtLeastOneTrack)
+ if (didAppendAtLeastOneTrack) {
Polymer.dom(this).appendChild(new SpacingTrack(this.viewport));
+ }
}
};
« no previous file with comments | « tracing/tracing/ui/tracks/interaction_track.html ('k') | tracing/tracing/ui/tracks/letter_dot_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698