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

Unified Diff: third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.js

Issue 2604883002: DevTools: namespace globals (Closed)
Patch Set: address CL feedback Created 4 years 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: third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.js
diff --git a/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.js b/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.js
index 14d426c2b175154e8992131afb2dcf2ef1eaed7d..7b024cf938b7684381fdcc423da33da7c11590e6 100644
--- a/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.js
+++ b/third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.js
@@ -421,7 +421,7 @@ Host.InspectorFrontendHostStub = class {
/**
* @unrestricted
*/
-var InspectorFrontendAPIImpl = class {
+Host.InspectorFrontendAPIImpl = class {
constructor() {
this._debugFrontend =
!!Runtime.queryParam('debugFrontend') || (window['InspectorTest'] && window['InspectorTest']['debugTest']);
@@ -514,7 +514,7 @@ window.InspectorFrontendHost = InspectorFrontendHost;
// FIXME: This file is included into both apps, since the devtools_app needs the InspectorFrontendHostAPI only,
// so the host instance should not initialized there.
initializeInspectorFrontendHost();
- window.InspectorFrontendAPI = new InspectorFrontendAPIImpl();
+ window.InspectorFrontendAPI = new Host.InspectorFrontendAPIImpl();
Common.setLocalizationPlatform(InspectorFrontendHost.platform());
})();

Powered by Google App Engine
This is Rietveld 408576698