ports/www/iridium/files/patch-ui_base_accelerators_command.cc
2025-05-07 15:11:50 +02:00

11 lines
496 B
C++

--- ui/base/accelerators/command.cc.orig 2025-05-07 06:48:23 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