alloy: Fix extension function registration for print preview dialog (fixes issue #3167)

This commit is contained in:
Marshall Greenblatt
2022-02-02 14:45:53 -05:00
parent 9ed0ce82d9
commit 5491502a52
4 changed files with 13 additions and 5 deletions

View File

@ -52,8 +52,6 @@ void CefExtensionsAPIClient::AttachWebContentsHelpers(
PrefsTabHelper::CreateForWebContents(web_contents);
printing::CefPrintViewManager::CreateForWebContents(web_contents);
CefExtensionWebContentsObserver::CreateForWebContents(web_contents);
// Used by the PDF extension.
pdf::PDFWebContentsHelper::CreateForWebContentsWithClient(
web_contents, std::unique_ptr<pdf::PDFWebContentsHelperClient>(