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

Unified Diff: Source/devtools/front_end/main/Main.js

Issue 1171753002: DevTools console context defaults to the Service Worker, should not. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/components/ExecutionContextSelector.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/main/Main.js
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js
index 2c94e2245b791306f19c33d3842dd92e4a04f866..67c8b3967c3d2e093cd81ac942bed454d27e7ef6 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -225,7 +225,7 @@ WebInspector.Main.prototype = {
new WebInspector.OverlayController();
new WebInspector.ContentScriptProjectDecorator();
- new WebInspector.ExecutionContextSelector();
+ new WebInspector.ExecutionContextSelector(WebInspector.targetManager, WebInspector.context);
var autoselectPanel = WebInspector.UIString("a panel chosen automatically");
var openAnchorLocationSetting = WebInspector.settings.createSetting("openLinkHandler", autoselectPanel);
« no previous file with comments | « Source/devtools/front_end/components/ExecutionContextSelector.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698