Fix for webkit event issue
[framework/osp/web.git] / src / controls / FWebCtrl_GestureState.cpp
index 5bfa592..b2b3675 100755 (executable)
@@ -90,27 +90,6 @@ _TapGestureState::OnLongPressGestureDetected(_TouchLongPressGestureDetector& ges
        SysAssertf(pSmartData, "Failed to get webkit smart data.");
        pSmartData->api->gesture_move(const_cast< Ewk_View_Smart_Data* >(pSmartData), &gestureEvent);
 
-       //To delete magnifier
-       _TouchManager* pTouchManager = _TouchManager::GetInstance();
-       SysAssertf(pTouchManager, "Failed to get touch manager.");
-
-       Point absPoint(_CoordinateSystemUtils::ConvertToInteger(pTouchManager->GetPosition(pTouchManager->GetCurrentPointId())));
-
-       Ewk_Touch_Point* pPoint = static_cast< Ewk_Touch_Point* >(calloc(1, sizeof(Ewk_Touch_Point)));
-       pPoint->id = 0;
-       pPoint->x = absPoint.x;
-       pPoint->y = absPoint.y;
-       pPoint->state = EVAS_TOUCH_POINT_CANCEL;
-
-       Eina_List* pPointList = null;
-       pPointList = eina_list_append(pPointList, pPoint);
-
-       ewk_view_feed_touch_event(__pWebCore->GetWebNativeNode(), EWK_TOUCH_CANCEL, pPointList, null);
-
-       void* pData = null;
-       EINA_LIST_FREE(pPointList, pData)
-       free(pData);
-
        __longPressed = true;
 
        return true;