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

Unified Diff: tracing/tracing/ui/tracks/global_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
« no previous file with comments | « tracing/tracing/ui/tracks/frame_track_test.html ('k') | tracing/tracing/ui/tracks/interaction_track.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/tracks/global_memory_dump_track.html
diff --git a/tracing/tracing/ui/tracks/global_memory_dump_track.html b/tracing/tracing/ui/tracks/global_memory_dump_track.html
index 83bea6b031ac6c942d04caf47cac82837d50679b..ff218cf6ff9701c54fa6438c2ab71544bbc57c47 100644
--- a/tracing/tracing/ui/tracks/global_memory_dump_track.html
+++ b/tracing/tracing/ui/tracks/global_memory_dump_track.html
@@ -46,8 +46,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.appendDumpDotsTrack_();
this.appendUsedMemoryTrack_();
@@ -56,8 +55,7 @@ tr.exportTo('tr.ui.tracks', function() {
appendDumpDotsTrack_: function() {
var items = tr.ui.tracks.buildMemoryLetterDots(this.memoryDumps_);
- if (!items)
- return;
+ if (!items) return;
var track = new tr.ui.tracks.LetterDotTrack(this.viewport);
track.heading = 'Memory Dumps';
@@ -68,8 +66,7 @@ tr.exportTo('tr.ui.tracks', function() {
appendUsedMemoryTrack_: function() {
var series = tr.ui.tracks.buildGlobalUsedMemoryChartSeries(
this.memoryDumps_);
- if (!series)
- return;
+ if (!series) return;
var track = new tr.ui.tracks.ChartTrack(this.viewport);
track.heading = 'Memory per process';
@@ -82,8 +79,7 @@ tr.exportTo('tr.ui.tracks', function() {
appendAllocatedMemoryTrack_: function() {
var series = tr.ui.tracks.buildGlobalAllocatedMemoryChartSeries(
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/frame_track_test.html ('k') | tracing/tracing/ui/tracks/interaction_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698