@@ -8,7 +8,7 @@ import { IDisposable, toDisposable, UnownedDisposable } from 'vs/base/common/lif
88import { values } from 'vs/base/common/map' ;
99import { URI } from 'vs/base/common/uri' ;
1010import { ExtensionIdentifier } from 'vs/platform/extensions/common/extensions' ;
11- import { createDecorator , IInstantiationService } from 'vs/platform/instantiation/common/instantiation' ;
11+ import { createDecorator } from 'vs/platform/instantiation/common/instantiation' ;
1212import { GroupIdentifier } from 'vs/workbench/common/editor' ;
1313import { IWebviewService , WebviewOptions , WebviewContentOptions } from 'vs/workbench/contrib/webview/browser/webview' ;
1414import { IEditorGroup , IEditorGroupsService } from 'vs/workbench/services/editor/common/editorGroupsService' ;
@@ -131,7 +131,6 @@ export class WebviewEditorService implements IWebviewEditorService {
131131
132132 constructor (
133133 @IEditorService private readonly _editorService : IEditorService ,
134- @IInstantiationService private readonly _instantiationService : IInstantiationService ,
135134 @IEditorGroupsService private readonly _editorGroupService : IEditorGroupsService ,
136135 @IWebviewService private readonly _webviewService : IWebviewService ,
137136 @IWorkspaceContextService private readonly _contextService : IWorkspaceContextService ,
@@ -150,7 +149,7 @@ export class WebviewEditorService implements IWebviewEditorService {
150149 ) : WebviewInput {
151150 const webview = this . createWebiew ( id , extension , options ) ;
152151
153- const webviewInput = this . _instantiationService . createInstance ( WebviewInput , id , viewType , title , new UnownedDisposable ( webview ) , undefined ) ;
152+ const webviewInput = new WebviewInput ( id , viewType , title , new UnownedDisposable ( webview ) ) ;
154153 this . _editorService . openEditor ( webviewInput , {
155154 pinned : true ,
156155 preserveFocus : showOptions . preserveFocus ,
0 commit comments