@@ -78,8 +78,6 @@ import { IStorageKeysSyncRegistryService } from 'vs/platform/userDataSync/common
7878import { StorageKeysSyncRegistryChannel } from 'vs/platform/userDataSync/common/userDataSyncIpc' ;
7979import { INativeEnvironmentService } from 'vs/platform/environment/node/environmentService' ;
8080import { mnemonicButtonLabel , getPathLabel } from 'vs/base/common/labels' ;
81- import { IFileService } from 'vs/platform/files/common/files' ;
82- import { WebviewChannel } from 'vs/platform/webview/electron-main/webviewIpcs' ;
8381import { WebviewMainService } from 'vs/platform/webview/electron-main/webviewMainService' ;
8482import { IWebviewManagerService } from 'vs/platform/webview/common/webviewManagerService' ;
8583
@@ -90,7 +88,6 @@ export class CodeApplication extends Disposable {
9088 constructor (
9189 private readonly mainIpcServer : Server ,
9290 private readonly userEnv : IProcessEnvironment ,
93- @IFileService fileService : IFileService ,
9491 @IInstantiationService private readonly instantiationService : IInstantiationService ,
9592 @ILogService private readonly logService : ILogService ,
9693 @IEnvironmentService private readonly environmentService : INativeEnvironmentService ,
@@ -580,7 +577,7 @@ export class CodeApplication extends Disposable {
580577 electronIpcServer . registerChannel ( 'url' , urlChannel ) ;
581578
582579 const webviewManagerService = accessor . get ( IWebviewManagerService ) ;
583- const webviewChannel = new WebviewChannel ( webviewManagerService ) ;
580+ const webviewChannel = createChannelReceiver ( webviewManagerService ) ;
584581 electronIpcServer . registerChannel ( 'webview' , webviewChannel ) ;
585582
586583 const storageMainService = accessor . get ( IStorageMainService ) ;
0 commit comments