aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-ui_native__theme_native__theme__base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron23/files/patch-ui_native__theme_native__theme__base.cc')
-rw-r--r--devel/electron23/files/patch-ui_native__theme_native__theme__base.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-ui_native__theme_native__theme__base.cc b/devel/electron23/files/patch-ui_native__theme_native__theme__base.cc
new file mode 100644
index 000000000000..8dfd3ac0c89e
--- /dev/null
+++ b/devel/electron23/files/patch-ui_native__theme_native__theme__base.cc
@@ -0,0 +1,11 @@
+--- ui/native_theme/native_theme_base.cc.orig 2023-02-01 18:43:52 UTC
++++ ui/native_theme/native_theme_base.cc
+@@ -273,7 +273,7 @@ void NativeThemeBase::Paint(cc::PaintCanvas* canvas,
+ break;
+ // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // of lacros-chrome is complete.
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+ case kFrameTopArea:
+ PaintFrameTopArea(canvas, state, rect, extra.frame_top_area,
+ color_scheme);