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

Unified Diff: Source/devtools/front_end/host/InspectorFrontendHost.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/InspectorAppHost.js ('k') | Source/devtools/front_end/host/module.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/host/InspectorFrontendHost.js
diff --git a/Source/devtools/front_end/host/InspectorFrontendHost.js b/Source/devtools/front_end/host/InspectorFrontendHost.js
index 124fca72480f4387dd946e499bead4dc028f514e..a0196e2282f4dc028aaa452afea1961f8a8fe607 100644
--- a/Source/devtools/front_end/host/InspectorFrontendHost.js
+++ b/Source/devtools/front_end/host/InspectorFrontendHost.js
@@ -632,10 +632,6 @@ WebInspector.InspectorFrontendHostStub.prototype = {
var InspectorFrontendHost = window.InspectorFrontendHost || null;
(function() {
- if (window.top) {
- // FIXME(dgozman): use InspectorAppHost everywhere in inspector app instead of InspectorFrontendHost.
- InspectorFrontendHost = window.top.InspectorFrontendHost || null;
- }
if (!InspectorFrontendHost) {
// Instantiate stub for web-hosted mode if necessary.
InspectorFrontendHost = new WebInspector.InspectorFrontendHostStub();
« no previous file with comments | « Source/devtools/front_end/host/InspectorAppHost.js ('k') | Source/devtools/front_end/host/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698