ports/www/iridium/files/patch-ui_base_accelerators_command.cc
2025-04-17 14:21:51 +02:00

11 lines
496 B
C++

--- ui/base/accelerators/command.cc.orig 2025-04-16 18:18:42 UTC
+++ ui/base/accelerators/command.cc
@@ -81,7 +81,7 @@ std::string Command::CommandPlatform() {
return ui::kKeybindingPlatformMac;
#elif BUILDFLAG(IS_CHROMEOS)
return ui::kKeybindingPlatformChromeOs;
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return ui::kKeybindingPlatformLinux;
#elif BUILDFLAG(IS_FUCHSIA)
// TODO(crbug.com/40220501): Change this once we decide what string should be