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

Unified Diff: Source/devtools/front_end/ui_lazy/FlameChart.js

Issue 1213563003: DevTools: Fix flamechart height (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui_lazy/FlameChart.js
diff --git a/Source/devtools/front_end/ui_lazy/FlameChart.js b/Source/devtools/front_end/ui_lazy/FlameChart.js
index 3e943e6dcaff810e4c754d5cb124dc85c7c06e33..9974cfd58e51619d5c5ade69028374c91bd14485 100644
--- a/Source/devtools/front_end/ui_lazy/FlameChart.js
+++ b/Source/devtools/front_end/ui_lazy/FlameChart.js
@@ -1470,7 +1470,7 @@ WebInspector.FlameChart.prototype = {
this._baseHeight = this._isTopDown ? WebInspector.FlameChart.DividersBarHeight : this._offsetHeight - this._barHeight;
- this._totalHeight = this._levelToHeight(this._dataProvider.maxStackDepth() + 1);
+ this._totalHeight = this._levelToHeight(this._dataProvider.maxStackDepth());
this._vScrollContent.style.height = this._totalHeight + "px";
this._updateScrollBar();
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698