Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 04d7e8fce0c9f31e9161920b8de3170e22aafe06..a40b9069d43eabd3c5eb86f49cdb214f3a4b69db 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(); |