Index: Source/devtools/front_end/console/ConsolePanel.js |
diff --git a/Source/devtools/front_end/console/ConsolePanel.js b/Source/devtools/front_end/console/ConsolePanel.js |
index 97ee8d8627a25638137e6dbaf98f113b8bc05357..4583a70c7549f43869abae6d7889a5de1551b4f3 100644 |
--- a/Source/devtools/front_end/console/ConsolePanel.js |
+++ b/Source/devtools/front_end/console/ConsolePanel.js |
@@ -45,7 +45,7 @@ WebInspector.ConsolePanel = function() |
WebInspector.ConsolePanel._view = function() |
{ |
if (!WebInspector.ConsolePanel._consoleView) |
- WebInspector.ConsolePanel._consoleView = new WebInspector.ConsoleView(!Capabilities.isMainFrontend); |
+ WebInspector.ConsolePanel._consoleView = new WebInspector.ConsoleView(WebInspector.isWorkerFrontend()); |
return WebInspector.ConsolePanel._consoleView; |
} |