[Title] Fix bug when UIProcess received invalid keyboard event from WebProcess
[Issue#] N/A
[Problem] incorrectly used a function for handling invalid keyboard event.
[Cause] N/A
[Solution] Fix to use correct function.
[Developer] bw80.lee
Change-Id: Ib70e33d5e0bb548850a319fe9bf4816a28b56315
} else {
if (m_keyEventQueue.isEmpty()) {
bool handled = false;
- didReceiveEvent(event.type(), handled);
+ m_pageClient->doneWithKeyEvent(event, handled);
} else {
QueuedUIEvents<NativeWebKeyboardEvent>& lastEvent = m_keyEventQueue.last();
lastEvent.deferredEvents.append(event);