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

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

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: Created 4 years, 1 month 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: 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 f9e8a4602594d05bdb9dfaf78eb57ba88aeee4ed..be772c8abcb107492df53a424fe23cd59242b1ca 100644
--- a/third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/audits/AuditsPanel.js
@@ -161,9 +161,12 @@ WebInspector.AuditsPanel.prototype = {
this.splitWidget().setMainWidget(x);
},
+ /**
+ * @override
+ */
wasShown: function()
{
- WebInspector.Panel.prototype.wasShown.call(this);
+ WebInspector.PanelWithSidebar.prototype.wasShown.call(this);
if (!this._visibleView)
this._auditsItemTreeElement.select();
},

Powered by Google App Engine
This is Rietveld 408576698