blob: e1b2405a9d03fc5eb9940a261f7c4fbb7f06ed37 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- chrome/browser/themes/theme_service.cc.orig 2025-03-24 20:50:14 UTC
+++ chrome/browser/themes/theme_service.cc
@@ -71,7 +71,7 @@
#include "extensions/browser/extension_registry_observer.h"
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "ui/linux/linux_ui.h"
#include "ui/ozone/public/ozone_platform.h" // nogncheck
#endif
@@ -331,7 +331,7 @@ bool ThemeService::ShouldUseCustomFrame() const {
}
bool ThemeService::ShouldUseCustomFrame() const {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (!ui::OzonePlatform::GetInstance()
->GetPlatformRuntimeProperties()
.supports_server_side_window_decorations) {
|