summaryrefslogtreecommitdiff
path: root/dom/xbl
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-04-30 21:22:08 +0000
committerMoonchild <moonchild@palemoon.org>2021-04-30 21:22:08 +0000
commit0dd3424f774954627d6f53df9fb47379d9b5c871 (patch)
treed8c303bac59a5bbbbc6c6f5e541a01dec1a5ae49 /dom/xbl
parent5e705bd5059da5b7a39e3a096b7c7f59cb466730 (diff)
downloaduxp-0dd3424f774954627d6f53df9fb47379d9b5c871.tar.gz
Issue #1751 -- Remove XP_MACOSX conditionals from /dom
Diffstat (limited to 'dom/xbl')
-rw-r--r--dom/xbl/nsXBLPrototypeHandler.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/dom/xbl/nsXBLPrototypeHandler.cpp b/dom/xbl/nsXBLPrototypeHandler.cpp
index 963e6835c6..4872a850d7 100644
--- a/dom/xbl/nsXBLPrototypeHandler.cpp
+++ b/dom/xbl/nsXBLPrototypeHandler.cpp
@@ -167,13 +167,8 @@ nsXBLPrototypeHandler::InitAccessKeys()
return;
}
- // Compiled-in defaults, in case we can't get the pref --
- // mac doesn't have menu shortcuts, other platforms use alt.
-#ifdef XP_MACOSX
- kMenuAccessKey = 0;
-#else
+ // Compiled-in defaults, in case we can't get the pref
kMenuAccessKey = nsIDOMKeyEvent::DOM_VK_ALT;
-#endif
// Get the menu access key value from prefs, overriding the default:
kMenuAccessKey =