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 36053a7db4dd2..bbf6bc41edec3 100644
--- ui/events/keycodes/keyboard_code_conversion_mac.mm
+++ ui/events/keycodes/keyboard_code_conversion_mac.mm
@@ -895,7 +895,7 @@ DomKey DomKeyFromNSEvent(NSEvent* event) {
return DomKeyFromKeyCode(event.keyCode);
}
default:
- NOTREACHED();
+ return ui::DomKey::NONE;
}
}