fix: webContents.printToPDF()
with cross-process subframes (#46218)
fix: webContents.printToPDF() with cross-process subframes
This commit is contained in:
parent
8e856dfdb8
commit
1d6cb348b4
5 changed files with 63 additions and 1 deletions
|
@ -90,6 +90,7 @@ void ElectronExtensionsAPIClient::AttachWebContentsHelpers(
|
|||
content::WebContents* web_contents) const {
|
||||
#if BUILDFLAG(ENABLE_PRINTING)
|
||||
electron::PrintViewManagerElectron::CreateForWebContents(web_contents);
|
||||
printing::CreateCompositeClientIfNeeded(web_contents, std::string());
|
||||
#endif
|
||||
|
||||
extensions::ElectronExtensionWebContentsObserver::CreateForWebContents(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue