Windows: Fix out-of-sync timestamps in OSR mode (fixes issue #3102)

This commit is contained in:
Corentin Dumont 2021-03-23 20:13:03 +00:00 committed by Marshall Greenblatt
parent 91ecc85e93
commit 6574e1d914

View File

@ -487,8 +487,7 @@ gfx::Vector2d CefBrowserPlatformDelegateNativeWin::GetUiWheelEventOffset(
}
base::TimeTicks CefBrowserPlatformDelegateNativeWin::GetEventTimeStamp() const {
return base::TimeTicks() +
base::TimeDelta::FromMilliseconds(GetMessageTime());
return base::TimeTicks::Now();
}
// static