freebsd-ports/www/iridium/files/patch-ui_views_window_frame__background.cc
Robert Nagy 06a832ee8d www/iridium: resurrect, update to 2022.03.99.1
Sync the port to www/chromium and the shared *BSD patchset

This port no longer uses Python 2.7
2022-03-30 17:20:38 +02:00

11 lines
640 B
C++

--- ui/views/window/frame_background.cc.orig 2022-03-28 18:11:04 UTC
+++ ui/views/window/frame_background.cc
@@ -110,7 +110,7 @@ void FrameBackground::PaintMaximized(gfx::Canvas* canv
int width) const {
// Fill the top with the frame color first so we have a constant background
// for areas not covered by the theme image.
-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \
BUILDFLAG(ENABLE_DESKTOP_AURA)
ui::NativeTheme::ExtraParams params;
params.frame_top_area.use_custom_frame = use_custom_frame_;