| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 2607f8068404cfcac097b193fdb630258c627a04..5400a9452dc72f3a0eaab16cec8a9946f77ec3f5 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -1727,14 +1727,20 @@ void Element::pseudoStateChanged(CSSSelector::PseudoType pseudo)
|
| elementShadow->distributedNodePseudoStateChanged(pseudo);
|
| }
|
|
|
| -void Element::setAnimationStyleChange(bool animationStyleChange)
|
| +void Element::setAnimationStyleChange(bool animationStyleChange) const
|
| {
|
| if (animationStyleChange && document().inStyleRecalc())
|
| return;
|
| - if (ElementAnimations* elementAnimations = elementRareData()->elementAnimations())
|
| + if (ElementAnimations* elementAnimations = this->elementAnimations())
|
| elementAnimations->setAnimationStyleChange(animationStyleChange);
|
| }
|
|
|
| +void Element::clearAnimationStyleChange() const
|
| +{
|
| + if (ElementAnimations* elementAnimations = this->elementAnimations())
|
| + elementAnimations->setAnimationStyleChange(false);
|
| +}
|
| +
|
| void Element::setNeedsAnimationStyleRecalc()
|
| {
|
| if (styleChangeType() != NoStyleChange)
|
|
|