--- ui/views/style/platform_style.cc.orig 2021-04-14 01:09:40 UTC +++ ui/views/style/platform_style.cc @@ -58,7 +58,7 @@ const View::FocusBehavior PlatformStyle::kDefaultFocus const bool PlatformStyle::kAdjustBubbleIfOffscreen = // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch // of lacros-chrome is complete. -#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) +#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) false; #else true; @@ -88,7 +88,7 @@ gfx::Range PlatformStyle::RangeToDeleteBackwards(const #endif // OS_APPLE #if !BUILDFLAG(ENABLE_DESKTOP_AURA) || \ - (!defined(OS_LINUX) && !defined(OS_CHROMEOS)) + (!defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_BSD)) // static std::unique_ptr PlatformStyle::CreateThemedLabelButtonBorder( LabelButton* button) {