зеркало из https://github.com/electron/electron.git
fix: use bidning.ipc instead of binding.sendTo which is undefined (#19103)
This commit is contained in:
Родитель
e6108740c0
Коммит
5a1b661f42
|
@ -14,9 +14,9 @@ ipcRendererInternal.sendSync = function (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) {
|
||||
return binding.sendTo(internal, true, webContentsId, channel, args)
|
||||
return binding.ipc.sendTo(internal, true, webContentsId, channel, args)
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче