Remove create on webview input

This commit is contained in:
Matt Bierner
2018-03-05 14:38:52 -08:00
parent 99949edbd5
commit 78870d93cb
2 changed files with 7 additions and 24 deletions

View File

@@ -48,7 +48,7 @@ export class MainThreadWebviews implements MainThreadWebviewsShape {
}
$createWebview(handle: WebviewHandle, uri: URI, title: string, column: Position, options: vscode.WebviewOptions): void {
const webviewInput = WebviewInput.create(URI.revive(uri), title, column, options, '', {
const webviewInput = new WebviewInput(URI.revive(uri), title, column, options, '', {
onMessage: message => this._proxy.$onMessage(handle, message),
onDidChangePosition: position => this._proxy.$onDidChangePosition(handle, position),
onDispose: () => {