cef/patch/patches/mac_keyboard_conversion_146...

14 lines
469 B
Diff
Raw Permalink Normal View History

diff --git ui/events/keycodes/keyboard_code_conversion_mac.mm ui/events/keycodes/keyboard_code_conversion_mac.mm
index 790f11ca3d508..16e1ea2b303ef 100644
--- ui/events/keycodes/keyboard_code_conversion_mac.mm
+++ ui/events/keycodes/keyboard_code_conversion_mac.mm
@@ -937,7 +937,7 @@ DomKey DomKeyFromNSEvent(NSEvent* event) {
return DomKeyFromKeyCode(event.keyCode);
}
default:
- NOTREACHED_NORETURN();
+ return ui::DomKey::NONE;
}
}