Rename RPCProtocol.get to RPCProtocol.getProxy (#36972)

This commit is contained in:
Alex Dima
2017-12-13 16:03:57 +01:00
parent 2b4ce13409
commit 367dd10413
50 changed files with 79 additions and 67 deletions

View File

@@ -12,7 +12,7 @@ export class ExtHostStorage {
private _proxy: MainThreadStorageShape;
constructor(mainContext: IMainContext) {
this._proxy = mainContext.get(MainContext.MainThreadStorage);
this._proxy = mainContext.getProxy(MainContext.MainThreadStorage);
}
getValue<T>(shared: boolean, key: string, defaultValue?: T): TPromise<T> {
@@ -22,4 +22,4 @@ export class ExtHostStorage {
setValue(shared: boolean, key: string, value: any): TPromise<void> {
return this._proxy.$setValue(shared, key, value);
}
}
}