fixup! [M108 Migration] Enable proper functionality for ewk_view_text_selection_clear API 23/290123/2
authorAyush Kumar <ayush.k123@samsung.com>
Mon, 20 Mar 2023 09:51:13 +0000 (15:21 +0530)
committerBot Blink <blinkbot@samsung.com>
Mon, 20 Mar 2023 12:41:05 +0000 (12:41 +0000)
This patch fixes the native tct case ewk_view_text_selection_clear_p.

Change-Id: I8372bbf89cfaf7dfd6502b86bf672937b76f6a73
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
tizen_src/ewk/efl_integration/eweb_view.cc

index bb7c4a08f4eb804bbf5495679c6e083b88a1ebf0..51c282feaf32c27dea2d88346283fffd4278f3ea 100644 (file)
@@ -1685,8 +1685,7 @@ Eina_Bool EWebView::ClearSelection() {
     return EINA_FALSE;
 
   ResetContextMenuController();
-  rwhva()->offscreen_helper()->SelectionChanged(std::u16string(), 0,
-                                                gfx::Range());
+  rwhva()->SelectionChanged(std::u16string(), 0, gfx::Range());
 
   if (GetSelectionController())
     return GetSelectionController()->ClearSelectionViaEWebView();