| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 3ff76bcd0e5a9e40015a9273f9c05af5624cdedb..df37c6aca9f233ce9bfd762a61ab3a426abc96e0 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -1589,7 +1589,7 @@ PassRefPtr<ComputedStyle> Element::styleForLayoutObject()
|
| // FIXME: Instead of clearing updates that may have been added from calls to styleForElement
|
| // outside recalcStyle, we should just never set them if we're not inside recalcStyle.
|
| if (ElementAnimations* elementAnimations = this->elementAnimations())
|
| - elementAnimations->cssAnimations().setPendingUpdate(nullptr);
|
| + elementAnimations->cssAnimations().clearPendingUpdate();
|
|
|
| if (hasCustomStyleCallbacks())
|
| style = customStyleForLayoutObject();
|
|
|