alloy: Fix print preview WebUI registration (fixes #3625)

This commit is contained in:
Marshall Greenblatt 2024-01-08 13:50:50 -05:00
parent 7d89c0c5c2
commit c12930456b
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@
#include "chrome/browser/devtools/devtools_ui_bindings.h" #include "chrome/browser/devtools/devtools_ui_bindings.h"
#include "chrome/browser/profiles/profile.h" #include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/webui/chrome_untrusted_web_ui_configs.h" #include "chrome/browser/ui/webui/chrome_untrusted_web_ui_configs.h"
#include "chrome/browser/ui/webui/chrome_web_ui_configs.h"
#include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h"
#include "chrome/browser/ui/webui/theme_source.h" #include "chrome/browser/ui/webui/theme_source.h"
#include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_paths.h"
@ -715,6 +716,7 @@ void RegisterWebUIControllerFactory() {
content::WebUIControllerFactory::RegisterFactory( content::WebUIControllerFactory::RegisterFactory(
CefWebUIControllerFactory::GetInstance()); CefWebUIControllerFactory::GetInstance());
RegisterChromeWebUIConfigs();
RegisterChromeUntrustedWebUIConfigs(); RegisterChromeUntrustedWebUIConfigs();
} }