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

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

Issue 725583003: [DevTools] Prepare to pass modified InspectorFrontendHost to inspector app. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed comment Created 6 years, 1 month 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/host/module.json ('k') | Source/devtools/front_end/main/Tests.js » ('j') | 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 6a7cbccd720a19659e0db3386259ac9fcda28b2c..d5231b793a4afc5dcc7f62d77d63950646f766a3 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -36,11 +36,6 @@
*/
WebInspector.Main = function()
{
- if (!InspectorAppHost) {
- console.error("Inspector should be embedded.");
- return;
- }
- InspectorAppHost.beforeInspectorAppLoad();
WebInspector.console.setUIDelegate(this);
runOnWindowLoad(this._loaded.bind(this));
}
@@ -256,7 +251,6 @@ WebInspector.Main.prototype = {
WebInspector.inspectElementModeController = new WebInspector.InspectElementModeController();
this._createGlobalStatusBarItems();
- InspectorAppHost.afterInspectorAppLoad();
InspectorFrontendHost.loadCompleted();
// Give UI cycles to repaint, then proceed with creating connection.
« no previous file with comments | « Source/devtools/front_end/host/module.json ('k') | Source/devtools/front_end/main/Tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698