[Web Animations] Avoid querying the current time multiple time when resolving the...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Jan 2018 18:48:02 +0000 (18:48 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Jan 2018 18:48:02 +0000 (18:48 +0000)
commitd92efa7137dd66560db0e2f4131e8764271ad2c7
treeab185571bd28abd79135707df3b4e3710560d493
parent91492a9c46b4fbb00c0ffea9cc8e8670c11b47dc
[Web Animations] Avoid querying the current time multiple time when resolving the play state
https://bugs.webkit.org/show_bug.cgi?id=182099

Patch by Antoine Quint <graouts@apple.com> on 2018-01-25
Reviewed by Dean Jackson.

No test change since this shouldn't cause any change in behavior.

* animation/WebAnimation.cpp:
(WebCore::WebAnimation::playState const):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/animation/WebAnimation.cpp