fix: use bidning.ipc instead of binding.sendTo which is undefined (#19103)
This commit is contained in:
parent
e6108740c0
commit
5a1b661f42
1 changed files with 2 additions and 2 deletions
|
@ -14,9 +14,9 @@ ipcRendererInternal.sendSync = function (channel, ...args) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ipcRendererInternal.sendTo = function (webContentsId, channel, ...args) {
|
ipcRendererInternal.sendTo = function (webContentsId, channel, ...args) {
|
||||||
return binding.sendTo(internal, false, webContentsId, channel, args)
|
return binding.ipc.sendTo(internal, false, webContentsId, channel, args)
|
||||||
}
|
}
|
||||||
|
|
||||||
ipcRendererInternal.sendToAll = function (webContentsId, channel, ...args) {
|
ipcRendererInternal.sendToAll = function (webContentsId, channel, ...args) {
|
||||||
return binding.sendTo(internal, true, webContentsId, channel, args)
|
return binding.ipc.sendTo(internal, true, webContentsId, channel, args)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue