Index: tracing/tracing/ui/analysis/memory_dump_heap_details_pane.html |
diff --git a/tracing/tracing/ui/analysis/memory_dump_heap_details_pane.html b/tracing/tracing/ui/analysis/memory_dump_heap_details_pane.html |
index 32dec9fdbee1a85899a22131728bc2ee36ce1d7c..8956c7000356cfa88064b802d6bc7b71b1693cfd 100644 |
--- a/tracing/tracing/ui/analysis/memory_dump_heap_details_pane.html |
+++ b/tracing/tracing/ui/analysis/memory_dump_heap_details_pane.html |
@@ -196,10 +196,12 @@ tr.exportTo('tr.ui.analysis', function() { |
var hasDisplayedChildren = false; |
var allDisplayedChildrenHaveDisplayedCounts = true; |
for (var child of stackFrameNode.children[dimensionIndex].values()) { |
- if (child.values[0].totalState < this.minDisplayedTotalState_) |
+ if (child.values[0].totalState < this.minDisplayedTotalState_) { |
continue; |
- if (child.values[1].totalState < this.minDisplayedTotalState_) |
+ } |
+ if (child.values[1].totalState < this.minDisplayedTotalState_) { |
allDisplayedChildrenHaveDisplayedCounts = false; |
+ } |
childDict[child.title[dimensionIndex]] = child; |
displayedChildrenTotalSize += child.values[0].total; |
displayedChildrenTotalCount += child.values[1].total; |
@@ -388,8 +390,7 @@ tr.exportTo('tr.ui.analysis', function() { |
createHeapTree_: function() { |
var definedHeapDump = tr.b.findFirstInArray(this.heapDumps_); |
- if (definedHeapDump === undefined) |
- return undefined; |
+ if (definedHeapDump === undefined) return undefined; |
// The title of the root node is the name of the allocator. |
var rootRowTitle = definedHeapDump.allocatorName; |