Issue #1751 -- Remove XP_MACOSX conditionals from /layout

This commit is contained in:
Moonchild 2021-05-03 12:26:37 +00:00 committed by roytam1
commit 02c59100a8
19 changed files with 11 additions and 371 deletions

View file

@ -126,8 +126,6 @@ nsButtonBoxFrame::HandleEvent(nsPresContext* aPresContext,
break;
}
// On mac, Return fires the default button, not the focused one.
#ifndef XP_MACOSX
case eKeyPress: {
WidgetKeyboardEvent* keyEvent = aEvent->AsKeyboardEvent();
if (!keyEvent) {
@ -142,7 +140,6 @@ nsButtonBoxFrame::HandleEvent(nsPresContext* aPresContext,
}
break;
}
#endif
case eKeyUp: {
WidgetKeyboardEvent* keyEvent = aEvent->AsKeyboardEvent();