cef/patch/patches/mac_keyboard_conversion_146...

14 lines
469 B
Diff

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