fixup! fixup! [M34-Merge] Migrated chromium-efl internals to asynchrounous hit tests
authorKarol Furmaniak <k.furmaniak@samsung.com>
Tue, 20 Jan 2015 07:54:30 +0000 (08:54 +0100)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
Fixed broken x,y coords in EWebView::EvasToBlinkCords.
Reviewed by: Piotr Grad, SeungSeop Park

Change-Id: I66a0b68fca2ec2806b4f30260e2d9c9c54f8c6cf
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
tizen_src/impl/eweb_view.cc

index 1eef499ac8659f6fe4023a02bcef6cdeb5747a58..3b2f478649b1d650371d464d4685107c6546d886 100644 (file)
@@ -1601,7 +1601,7 @@ void EWebView::EvasToBlinkCords(int x, int y, int* view_x, int* view_y) {
 
   if (view_y) {
     *view_y = y - tmpY;
-    *view_x /= gfx::Screen::GetNativeScreen()->
+    *view_y /= gfx::Screen::GetNativeScreen()->
         GetPrimaryDisplay().device_scale_factor();
   }
 }