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

Unified Diff: Source/devtools/front_end/audits/AuditsPanel.js

Issue 944343002: DevTools: migrate treeoutline from hasChildren to is/setExpandable(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
Index: Source/devtools/front_end/audits/AuditsPanel.js
diff --git a/Source/devtools/front_end/audits/AuditsPanel.js b/Source/devtools/front_end/audits/AuditsPanel.js
index b6a8fe37aae82925590ad6f81c30a526cd9e15a6..9a07e531c47638eebfbe2df86cf55a565c11f1cd 100644
--- a/Source/devtools/front_end/audits/AuditsPanel.js
+++ b/Source/devtools/front_end/audits/AuditsPanel.js
@@ -43,14 +43,14 @@ WebInspector.AuditsPanel = function()
this.panelSidebarElement().appendChild(sidebarTree.element);
this.setDefaultFocusedElement(sidebarTree.element);
- this.auditsTreeElement = new WebInspector.SidebarSectionTreeElement("", true);
+ this.auditsTreeElement = new WebInspector.SidebarSectionTreeElement("");
sidebarTree.appendChild(this.auditsTreeElement);
this.auditsTreeElement.listItemElement.classList.add("hidden");
this.auditsItemTreeElement = new WebInspector.AuditsSidebarTreeElement(this);
this.auditsTreeElement.appendChild(this.auditsItemTreeElement);
- this.auditResultsTreeElement = new WebInspector.SidebarSectionTreeElement(WebInspector.UIString("RESULTS"), true);
+ this.auditResultsTreeElement = new WebInspector.SidebarSectionTreeElement(WebInspector.UIString("RESULTS"));
sidebarTree.appendChild(this.auditResultsTreeElement);
this.auditResultsTreeElement.expand();

Powered by Google App Engine
This is Rietveld 408576698