Fixed probelm that BS occurs when ime show
authorbunam.jeon <bunam.jeon@samsung.com>
Thu, 24 Oct 2013 12:46:47 +0000 (21:46 +0900)
committerbunam.jeon <bunam.jeon@samsung.com>
Thu, 24 Oct 2013 12:46:47 +0000 (21:46 +0900)
[Title]    Fixed probelm that BS occurs when ime show
[Issue#]   N/A
[Problem]  BS occurs when ime show
[Cause]    focusedNodeRect is null when input field zoom
[Solution] focusedNodeRect null check

Change-Id: I4676266bb899fbd4e82ac0654d631f6237bf0371

Source/WebKit2/UIProcess/API/efl/ewk_view.cpp

index 6f5d864..4af0403 100755 (executable)
@@ -2559,7 +2559,7 @@ bool ewk_view_focused_node_adjust(Evas_Object* ewkView, Eina_Bool adjustForExter
     IntRect focusedNodeRect = impl->pageClient->focusedNodeRect();
     IntRect focusedNodeRectScaled = focusedNodeRect;
 
-    if (selectionRect.isEmpty())
+    if (selectionRect.isEmpty() || focusedNodeRect.isEmpty())
         return false;
 
 #if ENABLE(TIZEN_WEBKIT2_TILED_BACKING_STORE)