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

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

Issue 396993003: DevTools: get rid of WebInspector.cssModel, use target models instead (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/devtools/front_end/Tests.js ('k') | Source/devtools/front_end/common/Console.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 96bb7958cc12032d556b231dfa659530abdee5fd..280adfc79f842d04e94318d4dcae87448d6b75d6 100644
--- a/Source/devtools/front_end/audits/AuditsPanel.js
+++ b/Source/devtools/front_end/audits/AuditsPanel.js
@@ -51,7 +51,7 @@ WebInspector.AuditsPanel = function()
this._constructCategories();
- var target = /** @type {!WebInspector.Target} */ (WebInspector.targetManager.activeTarget());
+ var target = /** @type {!WebInspector.Target} */ (WebInspector.targetManager.mainTarget());
this._auditController = new WebInspector.AuditController(target, this);
this._launcherView = new WebInspector.AuditLauncherView(this._auditController);
for (var id in this.categoriesById)
« no previous file with comments | « Source/devtools/front_end/Tests.js ('k') | Source/devtools/front_end/common/Console.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698