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 1232df3646
commit 0ad85c19aa

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