Skip to content

Commit

Permalink
💄 #54938
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Aug 15, 2018
1 parent d8dd5c3 commit 5a25b69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/api/node/extHostDecorations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ export class ExtHostDecorations implements ExtHostDecorationsShape {
this._proxy = mainContext.getProxy(MainContext.MainThreadDecorations);
}

registerDecorationProvider(provider: vscode.DecorationProvider, label: string): vscode.Disposable {
registerDecorationProvider(provider: vscode.DecorationProvider, extensionId: string): vscode.Disposable {
const handle = ExtHostDecorations._handlePool++;
this._provider.set(handle, provider);
this._proxy.$registerDecorationProvider(handle, label);
this._proxy.$registerDecorationProvider(handle, extensionId);

const listener = provider.onDidChangeDecorations(e => {
this._proxy.$onDidChange(handle, !e ? null : Array.isArray(e) ? e : [e]);
Expand Down

0 comments on commit 5a25b69

Please sign in to comment.