Title: [260140] trunk/Source/WebCore
Revision
260140
Author
za...@apple.com
Date
2020-04-15 11:21:13 -0700 (Wed, 15 Apr 2020)

Log Message

REGRESSION( r260114): [ Mac and iOS ] imported/w3c/web-platform-tests/web-animations/timing-model/timelines/document-timelines.html is failing.
https://bugs.webkit.org/show_bug.cgi?id=210549
<rdar://problem/61828495>

Unreviewed.

Partial revert of r260114. See webkit.org/b/210559 for details.

* dom/ScriptedAnimationController.cpp:
(WebCore::ScriptedAnimationController::serviceRequestAnimationFrameCallbacks):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (260139 => 260140)


--- trunk/Source/WebCore/ChangeLog	2020-04-15 17:39:57 UTC (rev 260139)
+++ trunk/Source/WebCore/ChangeLog	2020-04-15 18:21:13 UTC (rev 260140)
@@ -1,3 +1,16 @@
+2020-04-15  Zalan Bujtas  <za...@apple.com>
+
+        REGRESSION( r260114): [ Mac and iOS ] imported/w3c/web-platform-tests/web-animations/timing-model/timelines/document-timelines.html is failing.
+        https://bugs.webkit.org/show_bug.cgi?id=210549
+        <rdar://problem/61828495>
+
+        Unreviewed.
+
+        Partial revert of r260114. See webkit.org/b/210559 for details.
+
+        * dom/ScriptedAnimationController.cpp:
+        (WebCore::ScriptedAnimationController::serviceRequestAnimationFrameCallbacks):
+
 2020-04-15  Antoine Quint  <grao...@apple.com>
 
         [Web Animations] Add support for `pseudoElement` on `KeyframeEffect` and `KeyframeEffectOptions`

Modified: trunk/Source/WebCore/dom/ScriptedAnimationController.cpp (260139 => 260140)


--- trunk/Source/WebCore/dom/ScriptedAnimationController.cpp	2020-04-15 17:39:57 UTC (rev 260139)
+++ trunk/Source/WebCore/dom/ScriptedAnimationController.cpp	2020-04-15 18:21:13 UTC (rev 260140)
@@ -200,7 +200,7 @@
 
     TraceScope tracingScope(RAFCallbackStart, RAFCallbackEnd);
 
-    auto highResNowMs = Performance::reduceTimeResolution(Seconds { timestamp }).milliseconds();
+    auto highResNowMs = std::round(1000 * timestamp);
     if (m_document && m_document->quirks().needsMillisecondResolutionForHighResTimeStamp())
         highResNowMs += 0.1;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to