Index: tracing/tracing/ui/analysis/memory_dump_header_pane.html |
diff --git a/tracing/tracing/ui/analysis/memory_dump_header_pane.html b/tracing/tracing/ui/analysis/memory_dump_header_pane.html |
index 3033295062f00c7ec83976521358b91075e82f29..ec8a4b8e7f02c716e312e90576c82ace12ccbbdf 100644 |
--- a/tracing/tracing/ui/analysis/memory_dump_header_pane.html |
+++ b/tracing/tracing/ui/analysis/memory_dump_header_pane.html |
@@ -146,18 +146,20 @@ tr.exportTo('tr.ui.analysis', function() { |
updateAggregationModeSelector_: function() { |
var displayStyle; |
if (this.containerMemoryDumps_ === undefined || |
- this.containerMemoryDumps_.length <= 1) |
+ this.containerMemoryDumps_.length <= 1) { |
displayStyle = 'none'; |
- else |
+ } else { |
displayStyle = 'initial'; |
+ } |
this.$.aggregation_mode_container.style.display = displayStyle; |
}, |
changeChildPane_: function() { |
this.childPaneBuilder = function() { |
if (this.containerMemoryDumps_ === undefined || |
- this.containerMemoryDumps_.length <= 0) |
+ this.containerMemoryDumps_.length <= 0) { |
return undefined; |
+ } |
var overviewPane = document.createElement( |
'tr-ui-a-memory-dump-overview-pane'); |