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
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) {