summaryrefslogtreecommitdiff
path: root/chromium/v8/tools/turbolizer/src/graphmultiview.ts
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/tools/turbolizer/src/graphmultiview.ts')
-rw-r--r--chromium/v8/tools/turbolizer/src/graphmultiview.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/chromium/v8/tools/turbolizer/src/graphmultiview.ts b/chromium/v8/tools/turbolizer/src/graphmultiview.ts
index 380f7df77db..4f8f6339199 100644
--- a/chromium/v8/tools/turbolizer/src/graphmultiview.ts
+++ b/chromium/v8/tools/turbolizer/src/graphmultiview.ts
@@ -38,6 +38,11 @@ export class GraphMultiView extends View {
return pane;
}
+ hide() {
+ this.hideCurrentPhase();
+ super.hide();
+ }
+
constructor(id, selectionBroker, sourceResolver) {
super(id);
const view = this;
@@ -86,7 +91,9 @@ export class GraphMultiView extends View {
}
show() {
- super.show();
+ // Insert before is used so that the display is inserted before the
+ // resizer for the RangeView.
+ this.container.insertBefore(this.divNode, this.container.firstChild);
this.initializeSelect();
const lastPhaseIndex = +window.sessionStorage.getItem("lastSelectedPhase");
const initialPhaseIndex = this.sourceResolver.repairPhaseId(lastPhaseIndex);