blob: e2d4a36cf51206b4e878b8ec9ca93e6f4da1f4e9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- chrome/browser/ui/webui/settings/appearance_handler.cc.orig 2025-04-22 20:15:27 UTC
+++ chrome/browser/ui/webui/settings/appearance_handler.cc
@@ -32,7 +32,7 @@ void AppearanceHandler::RegisterMessages() {
"useDefaultTheme",
base::BindRepeating(&AppearanceHandler::HandleUseTheme,
base::Unretained(this), ui::SystemTheme::kDefault));
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
web_ui()->RegisterMessageCallback(
"useGtkTheme",
base::BindRepeating(&AppearanceHandler::HandleUseTheme,
|