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

Unified Diff: tracing/tracing/ui/tracks/process_memory_dump_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/process_memory_dump_track.html
diff --git a/tracing/tracing/ui/tracks/process_memory_dump_track.html b/tracing/tracing/ui/tracks/process_memory_dump_track.html
index 3126ef27bbfe80e3ba8b54c34e2a774f4dac5b4b..b9fa1e070ad5a8737e87fe909d881ca186a48604 100644
--- a/tracing/tracing/ui/tracks/process_memory_dump_track.html
+++ b/tracing/tracing/ui/tracks/process_memory_dump_track.html
@@ -44,8 +44,7 @@ tr.exportTo('tr.ui.tracks', function() {
this.clearTracks_();
// Show no tracks if there are no dumps.
- if (!this.memoryDumps_ || !this.memoryDumps_.length)
- return;
+ if (!this.memoryDumps_ || !this.memoryDumps_.length) return;
this.appendAllocatedMemoryTrack_();
},
@@ -53,8 +52,7 @@ tr.exportTo('tr.ui.tracks', function() {
appendAllocatedMemoryTrack_: function() {
var series = tr.ui.tracks.buildProcessAllocatedMemoryChartSeries(
this.memoryDumps_);
- if (!series)
- return;
+ if (!series) return;
var track = new tr.ui.tracks.ChartTrack(this.viewport);
track.heading = 'Memory per component';
« no previous file with comments | « tracing/tracing/ui/tracks/power_series_track.html ('k') | tracing/tracing/ui/tracks/process_memory_dump_track_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698