mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Rename RPCProtocol.get to RPCProtocol.getProxy (#36972)
This commit is contained in:
@@ -23,7 +23,7 @@ export class ExtHostWindow implements ExtHostWindowShape {
|
||||
get state(): WindowState { return this._state; }
|
||||
|
||||
constructor(mainContext: IMainContext) {
|
||||
this._proxy = mainContext.get(MainContext.MainThreadWindow);
|
||||
this._proxy = mainContext.getProxy(MainContext.MainThreadWindow);
|
||||
this._proxy.$getWindowVisibility().then(isFocused => this.$onDidChangeWindowFocus(isFocused));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user