| Index: third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js b/third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js
|
| index a51f8ee85d5b7a0709cbbdaf125f06892f85da71..dbacdd497036813de0ad3e5c14ab6edee3528749 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js
|
| @@ -129,14 +129,14 @@ WebInspector.AuditsPanel.prototype = {
|
| */
|
| showResults: function(categoryResults)
|
| {
|
| - if (!categoryResults._resultView) {
|
| + if (!categoryResults._resultLocation) {
|
| categoryResults.sort((a, b) => (a.title || "").localeCompare(b.title || ""));
|
| - var resultView = new WebInspector.View.ExpandableStackContainer();
|
| + var resultView = WebInspector.viewManager.createStackLocation();
|
| for (var i = 0; i < categoryResults.length; ++i)
|
| - resultView.appendView(new WebInspector.AuditCategoryResultPane(categoryResults[i]), true);
|
| - categoryResults._resultView = resultView;
|
| + resultView.showView(new WebInspector.AuditCategoryResultPane(categoryResults[i]));
|
| + categoryResults._resultLocation = resultView;
|
| }
|
| - this.visibleView = categoryResults._resultView;
|
| + this.visibleView = categoryResults._resultLocation.widget();
|
| },
|
|
|
| showLauncherView: function()
|
|
|