summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_views_window_frame__background.cc
diff options
context:
space:
mode:
authorMatthias Wolf <freebsd@rheinwolf.de>2021-10-19 21:33:45 +0200
committerRene Ladan <rene@FreeBSD.org>2021-10-19 21:39:45 +0200
commit336f302a55ad11465a4255ae250715b962639010 (patch)
treec3e9a3cf7406fdf5fdb0ab3c60d132043615c2d7 /www/chromium/files/patch-ui_views_window_frame__background.cc
parentsecurity/vaultwarden: Update web-vault to 2.23.0c (diff)
www/chromium: update to 94.0.4606.81
MFH: 2021Q4 Security: https://vuxml.freebsd.org/freebsd/a7732806-0b2a-11ec-836b-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/47b571f2-157b-11ec-ae98-704d7b472482.html Security: https://vuxml.freebsd.org/freebsd/3551e106-1b17-11ec-a8a7-704d7b472482.html Security: https://vuxml.freebsd.org/freebsd/b6c875f1-1d76-11ec-ae80-704d7b472482.html Security: https://vuxml.freebsd.org/freebsd/777edbbe-2230-11ec-8869-704d7b472482.html Security: https://vuxml.freebsd.org/freebsd/7d3d94d3-2810-11ec-9c51-3065ec8fd3ec.html
Diffstat (limited to 'www/chromium/files/patch-ui_views_window_frame__background.cc')
-rw-r--r--www/chromium/files/patch-ui_views_window_frame__background.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/chromium/files/patch-ui_views_window_frame__background.cc b/www/chromium/files/patch-ui_views_window_frame__background.cc
index 33d1d0b5794e..51f1e9705a5e 100644
--- a/www/chromium/files/patch-ui_views_window_frame__background.cc
+++ b/www/chromium/files/patch-ui_views_window_frame__background.cc
@@ -1,11 +1,11 @@
---- ui/views/window/frame_background.cc.orig 2021-04-14 18:41:39 UTC
+--- ui/views/window/frame_background.cc.orig 2021-09-14 01:52:23 UTC
+++ ui/views/window/frame_background.cc
-@@ -99,7 +99,7 @@ void FrameBackground::PaintMaximized(gfx::Canvas* canv
- const View* view) const {
+@@ -109,7 +109,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 (defined(OS_LINUX) || defined(OS_CHROMEOS)) && \
+#if (defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)) && \
BUILDFLAG(ENABLE_DESKTOP_AURA)
- auto* native_theme = view->GetNativeTheme();
ui::NativeTheme::ExtraParams params;
+ params.frame_top_area.use_custom_frame = use_custom_frame_;