| Index: third_party/WebKit/Source/devtools/front_end/audits/AuditResultView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/audits/AuditResultView.js b/third_party/WebKit/Source/devtools/front_end/audits/AuditResultView.js
|
| index aedc51f86109d559db392fe740b7c34ce5f6bda0..b496b3bc8649de6c77dd604931d983ccea43b284 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/audits/AuditResultView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/audits/AuditResultView.js
|
| @@ -30,29 +30,6 @@
|
|
|
| /**
|
| * @constructor
|
| - * @extends {WebInspector.SidebarPaneStack}
|
| - * @param {!Array.<!WebInspector.AuditCategoryResult>} categoryResults
|
| - */
|
| -WebInspector.AuditResultView = function(categoryResults)
|
| -{
|
| - WebInspector.SidebarPaneStack.call(this);
|
| - this.setMinimumSize(100, 25);
|
| - this.element.classList.add("audit-result-view");
|
| -
|
| - function categorySorter(a, b) {
|
| - return (a.title || "").localeCompare(b.title || "");
|
| - }
|
| - categoryResults.sort(categorySorter);
|
| - for (var i = 0; i < categoryResults.length; ++i)
|
| - this.addPane(new WebInspector.AuditCategoryResultPane(categoryResults[i]));
|
| -}
|
| -
|
| -WebInspector.AuditResultView.prototype = {
|
| - __proto__: WebInspector.SidebarPaneStack.prototype
|
| -}
|
| -
|
| -/**
|
| - * @constructor
|
| * @extends {WebInspector.View}
|
| * @param {!WebInspector.AuditCategoryResult} categoryResult
|
| */
|
| @@ -80,7 +57,7 @@ WebInspector.AuditCategoryResultPane = function(categoryResult)
|
| var treeElement = this._appendResult(this._treeOutline.rootElement(), ruleResult, ruleResult.severity);
|
| treeElement.listItemElement.classList.add("audit-result");
|
| }
|
| - this.requestReveal();
|
| + this.revealWidget();
|
| }
|
|
|
| WebInspector.AuditCategoryResultPane.prototype = {
|
|
|