Fix bug when UIProcess received invalid keyboard event from WebProcess
authorByungwoo Lee <bw80.lee@samsung.com>
Sat, 8 Sep 2012 12:41:24 +0000 (21:41 +0900)
committerByungwoo Lee <bw80.lee@samsung.com>
Sat, 8 Sep 2012 13:07:11 +0000 (22:07 +0900)
[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

Source/WebKit2/UIProcess/WebPageProxy.cpp

index 0014992..df6c30c 100755 (executable)
@@ -1176,7 +1176,7 @@ void WebPageProxy::handleKeyboardEvent(const NativeWebKeyboardEvent& event)
     } 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);