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

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

Issue 206253005: DevTools: Get rid of WebInspector.ConsoleModel.UIDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
Index: Source/devtools/front_end/ConsolePanel.js
diff --git a/Source/devtools/front_end/ConsolePanel.js b/Source/devtools/front_end/ConsolePanel.js
index 99b0290bd8c57d2912abd532ea45951b0788309f..19f385a5424479f01740e465031c35d70050ca70 100644
--- a/Source/devtools/front_end/ConsolePanel.js
+++ b/Source/devtools/front_end/ConsolePanel.js
@@ -44,10 +44,9 @@ WebInspector.ConsolePanel = function()
*/
WebInspector.ConsolePanel._view = function()
{
- if (!WebInspector.ConsolePanel._consoleView) {
+ if (!WebInspector.ConsolePanel._consoleView)
WebInspector.ConsolePanel._consoleView = new WebInspector.ConsoleView(!Capabilities.isMainFrontend);
- WebInspector.console.setUIDelegate(WebInspector.ConsolePanel._consoleView);
- }
+
return WebInspector.ConsolePanel._consoleView;
}

Powered by Google App Engine
This is Rietveld 408576698