Remove PlayStateUpdateScope from Animation::currentTime
Calculating the current time does not alter any variables that could affect the play state, The check may have been required previously when the finished state of an animation was only being updated in UpdateCurrentTimingState. This patch also removes a superfluous check from currentTime. It is not possible to be in an idle state while having start time. Bug: 960944 Change-Id: I5e17c6a9b73400eb5358ae762f8d61d431818a50 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1914828 Commit-Queue: Kevin Ellis <kevers@chromium.org> Reviewed-by:Majid Valipour <majidvp@chromium.org> Cr-Commit-Position: refs/heads/master@{#715350}
Showing
Please register or sign in to comment