Commit 49e6fc04 authored by einbinder's avatar einbinder Committed by Commit bot

DevTools: Fix presubmits failing on InspectorFrontendHostAPI

Review-Url: https://codereview.chromium.org/2161033005
Cr-Commit-Position: refs/heads/master@{#406709}
parent 55b43623
......@@ -449,15 +449,15 @@ WebInspector.InspectorFrontendHostStub.prototype = {
/**
* @type {!InspectorFrontendHostAPI}
*/
window.InspectorFrontendHost = window.InspectorFrontendHost || null;
var InspectorFrontendHost = window.InspectorFrontendHost || null;
window.InspectorFrontendHost = InspectorFrontendHost;
(function(){
function initializeInspectorFrontendHost()
{
if (!InspectorFrontendHost) {
// Instantiate stub for web-hosted mode if necessary.
InspectorFrontendHost = new WebInspector.InspectorFrontendHostStub();
window.InspectorFrontendHost = InspectorFrontendHost = new WebInspector.InspectorFrontendHostStub();
} else {
// Otherwise add stubs for missing methods that are declared in the interface.
var proto = WebInspector.InspectorFrontendHostStub.prototype;
......
......@@ -4,10 +4,10 @@
/** @interface */
window.InspectorFrontendHostAPI = function()
function InspectorFrontendHostAPI()
{
}
window.InspectorFrontendHostAPI = InspectorFrontendHostAPI;
/** @typedef
{{
type: string,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment