[Web Animations] Move bindings methods requiring style flush from CSSAnimation to DeclarativeAnimation
Created attachment 353246 [details] Patch
Comment on attachment 353246 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=353246&action=review > Source/WebCore/animation/CSSAnimation.cpp:-126 > - auto currentTime = DeclarativeAnimation::bindingsCurrentTime(); > - if (currentTime) { > - if (auto* animationEffect = effect()) > - return std::max(0.0, std::min(currentTime.value(), animationEffect->timing()->activeDuration().milliseconds())); > - } > - return currentTime; is this logic in WebAnimation::bindingsCurrentTime?
This code was actually not necessary. Will make a note in the ChangeLog when landing.
Committed r237498: <https://trac.webkit.org/changeset/237498>
<rdar://problem/45617858>