Changeset 260870 in webkit
- Timestamp:
- Apr 28, 2020 10:36:17 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r260869 r260870 1 2020-04-28 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 Rendering update steps should use Seconds for the timestamps 4 https://bugs.webkit.org/show_bug.cgi?id=210990 5 6 Unreviewed. 7 8 serviceRequestAnimationFrameCallbacks() should return rounded milliseconds. 9 This rounding was removed in r260736. So put it back. 10 11 * dom/ScriptedAnimationController.cpp: 12 (WebCore::ScriptedAnimationController::serviceRequestAnimationFrameCallbacks): 13 1 14 2020-04-28 Carlos Garcia Campos <cgarcia@igalia.com> 2 15 -
trunk/Source/WebCore/dom/ScriptedAnimationController.cpp
r260736 r260870 201 201 TraceScope tracingScope(RAFCallbackStart, RAFCallbackEnd); 202 202 203 auto highResNowMs = timestamp.milliseconds();203 auto highResNowMs = std::round(1000 * timestamp.seconds()); 204 204 if (m_document && m_document->quirks().needsMillisecondResolutionForHighResTimeStamp()) 205 205 highResNowMs += 0.1;
Note: See TracChangeset
for help on using the changeset viewer.