chore: remove unused and broken ipcRendererInternal.sendTo() (#29743)

This commit is contained in:
Milan Burda 2021-06-18 06:26:18 +02:00 committed by GitHub
parent 6b4c59b8d8
commit de6696ef1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 12 additions and 25 deletions

View file

@ -18,7 +18,7 @@ ipcRenderer.sendToHost = function (channel, ...args) {
};
ipcRenderer.sendTo = function (webContentsId, channel, ...args) {
return ipc.sendTo(internal, webContentsId, channel, args);
return ipc.sendTo(webContentsId, channel, args);
};
ipcRenderer.invoke = async function (channel, ...args) {