Revert "[CherryPick] Input Method upversion"
[framework/web/webkit-efl.git] / Source / WebKit2 / UIProcess / API / efl / tizen / Pan.cpp
index 8faf0e9..f5ce019 100755 (executable)
@@ -96,14 +96,14 @@ void Pan::stop()
     if (m_panAnimator) {
         ecore_animator_del(m_panAnimator);
         m_panAnimator = 0;
-    }
-    m_lastPoint = m_currentPoint = IntPoint::zero();
+
 #if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
     PageClientImpl* pageClientImpl = ewkViewGetPageClient(m_ewkView);
     EINA_SAFETY_ON_NULL_RETURN(pageClientImpl);
-
     pageClientImpl->updateTextSelectionHandlesAndContextMenu(true);
 #endif
+    }
+    m_lastPoint = m_currentPoint = IntPoint::zero();
 }
 
 Eina_Bool Pan::panAnimatorCallback(void* data)