chore: remove deprecated ipcRenderer.sendTo()
(#39087)
chore: remove deprecated ipcRenderer.sendTo()
This commit is contained in:
parent
b5997a012d
commit
5078cae861
19 changed files with 20 additions and 207 deletions
|
@ -76,16 +76,6 @@ void ElectronApiIPCHandlerImpl::MessageSync(bool internal,
|
|||
}
|
||||
}
|
||||
|
||||
void ElectronApiIPCHandlerImpl::MessageTo(int32_t web_contents_id,
|
||||
const std::string& channel,
|
||||
blink::CloneableMessage arguments) {
|
||||
api::WebContents* api_web_contents = api::WebContents::From(web_contents());
|
||||
if (api_web_contents) {
|
||||
api_web_contents->MessageTo(web_contents_id, channel, std::move(arguments),
|
||||
GetRenderFrameHost());
|
||||
}
|
||||
}
|
||||
|
||||
void ElectronApiIPCHandlerImpl::MessageHost(const std::string& channel,
|
||||
blink::CloneableMessage arguments) {
|
||||
api::WebContents* api_web_contents = api::WebContents::From(web_contents());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue