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

Unified Diff: Source/devtools/front_end/console/ConsolePanel.js

Issue 388963004: DevTools: get rid of the global capabilities set. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing 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/common/Settings.js ('k') | Source/devtools/front_end/host/Platform.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « Source/devtools/front_end/common/Settings.js ('k') | Source/devtools/front_end/host/Platform.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698