Fixed lockup appear after rotating screen in case that host keyboard is used.
authorYuni Jeong <yhnet.jung@samsung.com>
Tue, 23 Apr 2013 22:21:26 +0000 (07:21 +0900)
committerYuni Jeong <yhnet.jung@samsung.com>
Tue, 23 Apr 2013 22:28:57 +0000 (07:28 +0900)
[Title] Fixed lockup appear after rotating screen in case that host keyboard is used.
[Issue#] N_SE-35699
[Problem] lockup appear after rotating screen in case that host keyboard is used.
[Cause] m_editorState of WebPage is not updated to changed value.
        So, "EditorStateChanged" message is continually sent from WebProcess to UIProcess.
[Solution] Updated m_editorState variable to changed value.

Change-Id: I8482883702396ebd81d085d5b31d3b7fc50c5516

Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp

index 3144b36..cfecedc 100755 (executable)
@@ -1416,6 +1416,7 @@ void WebPage::getSelectionHandlers(IntRect& leftRect, IntRect& rightRect)
                 if (m_editorState.editorRect != editorRect) {
                     EditorState state = editorState();
                     state.updateEditorRectOnly = true;
+                    setEditorState(state);
                     send(Messages::WebPageProxy::EditorStateChanged(state));
                 }
 #endif