Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 43e4c1473d36db47b55150a09043360af952d63d..87577d888b1f7e18e3fad9a2b2f444a377cd9392 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(); |