refactor: use WeakRef on main process side of remote (#24115)
This commit is contained in:
parent
09c0ee8f87
commit
e1e73fa5f5
9 changed files with 43 additions and 181 deletions
|
@ -35,10 +35,6 @@ class ElectronApiServiceImpl : public mojom::ElectronRenderer,
|
|||
int32_t sender_id) override;
|
||||
void ReceivePostMessage(const std::string& channel,
|
||||
blink::TransferableMessage message) override;
|
||||
#if BUILDFLAG(ENABLE_REMOTE_MODULE)
|
||||
void DereferenceRemoteJSCallback(const std::string& context_id,
|
||||
int32_t object_id) override;
|
||||
#endif
|
||||
void NotifyUserActivation() override;
|
||||
void TakeHeapSnapshot(mojo::ScopedHandle file,
|
||||
TakeHeapSnapshotCallback callback) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue