fix: avoid IPC for renderer webFrame.getZoom...
APIs (#45499)
* fix: avoid IPC for renderer `webFrame.getZoom...` APIs * Remove `DoGetZoomLevel` IPC * Fix synchronous behavior & nullptr deref * Use local root
This commit is contained in:
parent
e055ce7c39
commit
f5025b6246
7 changed files with 22 additions and 34 deletions
|
@ -470,9 +470,6 @@ class WebContents final : public ExclusiveAccessContext,
|
|||
// mojom::ElectronWebContentsUtility
|
||||
void OnFirstNonEmptyLayout(content::RenderFrameHost* render_frame_host);
|
||||
void SetTemporaryZoomLevel(double level);
|
||||
void DoGetZoomLevel(
|
||||
electron::mojom::ElectronWebContentsUtility::DoGetZoomLevelCallback
|
||||
callback);
|
||||
|
||||
void SetImageAnimationPolicy(const std::string& new_policy);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue