Index: tracing/tracing/ui/analysis/container_memory_dump_sub_view.html |
diff --git a/tracing/tracing/ui/analysis/container_memory_dump_sub_view.html b/tracing/tracing/ui/analysis/container_memory_dump_sub_view.html |
index d5511f290005fb3fdec15af029da8f485772765a..3615088d7be118b9bfccdbbdad40b45ab1d97f51 100644 |
--- a/tracing/tracing/ui/analysis/container_memory_dump_sub_view.html |
+++ b/tracing/tracing/ui/analysis/container_memory_dump_sub_view.html |
@@ -72,17 +72,16 @@ tr.exportTo('tr.ui.analysis', function() { |
updateContents_: function() { |
Polymer.dom(this.$.content).textContent = ''; |
- if (this.dumpsByContainerName_ === undefined) |
- return; |
+ if (this.dumpsByContainerName_ === undefined) return; |
var containerNames = Object.keys(this.dumpsByContainerName_); |
- if (containerNames.length === 0) |
- return; |
+ if (containerNames.length === 0) return; |
- if (containerNames.length > 1) |
+ if (containerNames.length > 1) { |
this.buildViewForMultipleContainerNames_(); |
- else |
+ } else { |
this.buildViewForSingleContainerName_(); |
+ } |
}, |
buildViewForSingleContainerName_: function() { |
@@ -120,8 +119,9 @@ tr.exportTo('tr.ui.analysis', function() { |
title: 'Dump', |
value: function(row) { |
- if (row.subRows === undefined) |
+ if (row.subRows === undefined) { |
return this.singleDumpValue_(row); |
+ } |
return this.groupedDumpValue_(row); |
}, |