Index: third_party/WebKit/Source/devtools/front_end/perf_ui/FlameChart.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/perf_ui/FlameChart.js b/third_party/WebKit/Source/devtools/front_end/perf_ui/FlameChart.js |
index 6e34f013edfbdd148a698a20c6251a2ce898c7fa..21a236dd37f7658b13650ef8495a170a08772f66 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/perf_ui/FlameChart.js |
+++ b/third_party/WebKit/Source/devtools/front_end/perf_ui/FlameChart.js |
@@ -1127,8 +1127,9 @@ PerfUI.FlameChart = class extends PerfUI.ChartViewport { |
if (groupIndex >= 0) { |
var group = groups[groupIndex]; |
var style = group.style; |
- height = isFirstOnLevel && !style.shareHeaderLine || !group.expanded ? style.height : |
- (style.itemsHeight || this._barHeight); |
+ height = isFirstOnLevel && !style.shareHeaderLine || (style.collapsible && !group.expanded) ? |
+ style.height : |
+ (style.itemsHeight || this._barHeight); |
} else { |
height = this._barHeight; |
} |