cef/patch/patches/mac_keyboard_conversion_146...

14 lines
460 B
Diff

diff --git ui/events/keycodes/keyboard_code_conversion_mac.mm ui/events/keycodes/keyboard_code_conversion_mac.mm
index e4ed714929627..47f3e6a4ccfe6 100644
--- ui/events/keycodes/keyboard_code_conversion_mac.mm
+++ ui/events/keycodes/keyboard_code_conversion_mac.mm
@@ -900,7 +900,7 @@ DomKey DomKeyFromNSEvent(NSEvent* event) {
return DomKeyFromKeyCode(event.keyCode);
}
default:
- NOTREACHED();
+ return ui::DomKey::NONE;
}
}