summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-components_user__education_views_help__bubble__view.cc
blob: f38a157a54bc6d3337f17c078bf1eab5e275ae6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/user_education/views/help_bubble_view.cc.orig	2023-12-23 12:33:28 UTC
+++ components/user_education/views/help_bubble_view.cc
@@ -1003,7 +1003,7 @@ gfx::Rect HelpBubbleView::GetAnchorRect() const {
 void HelpBubbleView::OnBeforeBubbleWidgetInit(views::Widget::InitParams* params,
                                               views::Widget* widget) const {
   BubbleDialogDelegateView::OnBeforeBubbleWidgetInit(params, widget);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   // Help bubbles anchored to menus may be clipped to their anchors' bounds,
   // resulting in visual errors, unless they use accelerated rendering. See
   // crbug.com/1445770 for details.