Remove legacy webkitRequestAnimationFrame time quirk
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Apr 2019 17:27:20 +0000 (17:27 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Apr 2019 17:27:20 +0000 (17:27 +0000)
commit34fc6c8fc85bf2ad2b155600bfe31c03d02e3f92
treeaba4f455a60d58df6d7323082f71ef000e89a8a3
parent89daf78f592d3c7376eef805b1b74660ef4cfd2b
Remove legacy webkitRequestAnimationFrame time quirk
https://bugs.webkit.org/show_bug.cgi?id=196458
<rdar://problem/49490207>

Reviewed by Simon Fraser.

Source/WebCore:

Remove legacy webkitRequestAnimationFrame time quirk and log a deprecation
warning whenever webkitRequestAnimationFrame is called.

* dom/ScriptedAnimationController.cpp:
(WebCore::ScriptedAnimationController::serviceScriptedAnimations):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::requestAnimationFrame):
(WebCore::DOMWindow::webkitRequestAnimationFrame):

LayoutTests:

Rebaseline webkitRequestAnimationFrame layout test now that we log a deprecation
warning.

* fast/animation/request-animation-frame-prefix-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/animation/request-animation-frame-prefix-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/dom/RequestAnimationFrameCallback.h
Source/WebCore/dom/ScriptedAnimationController.cpp
Source/WebCore/page/DOMWindow.cpp