mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
windows: Fix Views test failures (fixes issue #3365)
This commit is contained in:
@@ -552,12 +552,8 @@ void CefWindowImpl::SendMouseMove(int screen_x, int screen_y) {
|
||||
CEF_REQUIRE_VALID_RETURN_VOID();
|
||||
InitializeUITesting();
|
||||
|
||||
// Converts to pixel coordinates internally on Windows.
|
||||
gfx::Point point(screen_x, screen_y);
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
// Windows expects pixel coordinates.
|
||||
point = display::win::ScreenWin::DIPToScreenPoint(point);
|
||||
#endif
|
||||
|
||||
ui_controls::SendMouseMove(point.x(), point.y());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user