cef/patch/patches/mac_keyboard_conversion_1467329.patch
2024-03-22 13:46:28 -04:00

14 lines
469 B
Diff

diff --git ui/events/keycodes/keyboard_code_conversion_mac.mm ui/events/keycodes/keyboard_code_conversion_mac.mm
index c66e866757cd1..3cd7a654f4883 100644
--- ui/events/keycodes/keyboard_code_conversion_mac.mm
+++ ui/events/keycodes/keyboard_code_conversion_mac.mm
@@ -930,7 +930,7 @@ DomKey DomKeyFromNSEvent(NSEvent* event) {
return DomKeyFromKeyCode(event.keyCode);
}
default:
- NOTREACHED_NORETURN();
+ return ui::DomKey::NONE;
}
}