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

@@ -179,9 +179,6 @@ void CefBrowserPlatformDelegateAlloy::BrowserCreated(
printing::CefPrintViewManager::CreateForWebContents(web_contents_);
if (extensions::ExtensionsEnabled()) {
extensions::CefExtensionWebContentsObserver::CreateForWebContents(
web_contents_);
// Used by the tabs extension API.
zoom::ZoomController::CreateForWebContents(web_contents_);
}