mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 20:39:18 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html
20 lines
704 B
C++
20 lines
704 B
C++
--- chrome/browser/themes/theme_service.cc.orig 2023-02-08 09:03:45 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"
|
|
#endif
|
|
@@ -313,7 +313,7 @@ CustomThemeSupplier* ThemeService::GetThemeSupplier()
|
|
}
|
|
|
|
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) {
|