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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js

Issue 2682123004: DevTools: Fix toolbar layout glitches on memory panel (Closed)
Patch Set: Created 3 years, 10 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 | third_party/WebKit/Source/devtools/front_end/profiler/profilesPanel.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
index b74e7891c172fdf90d231b14ccc930b169135c41..8a6deaf7da55fa0dcf1956f5a73f811d5372be6b 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
@@ -48,6 +48,7 @@ Profiler.ProfilesPanel = class extends UI.PanelWithSidebar {
this._sidebarTree = new UI.TreeOutlineInShadow();
this._sidebarTree.registerRequiredCSS('profiler/profilesSidebarTree.css');
+ this._sidebarTree.element.classList.add('profiles-sidebar-tree-box');
this.panelSidebarElement().appendChild(this._sidebarTree.element);
this._sidebarTree.appendChild(this.profilesItemTreeElement);
@@ -60,7 +61,7 @@ Profiler.ProfilesPanel = class extends UI.PanelWithSidebar {
this._toolbarElement = createElementWithClass('div', 'profiles-toolbar');
mainContainer.element.insertBefore(this._toolbarElement, mainContainer.element.firstChild);
- this.panelSidebarElement().classList.add('profiles-sidebar-tree-box');
+ this.panelSidebarElement().classList.add('profiles-tree-sidebar');
var toolbarContainerLeft = createElementWithClass('div', 'profiles-toolbar');
this.panelSidebarElement().insertBefore(toolbarContainerLeft, this.panelSidebarElement().firstChild);
var toolbar = new UI.Toolbar('', toolbarContainerLeft);
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/profiler/profilesPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698