Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Unified Diff: Source/core/dom/Element.cpp

Issue 1281493004: Make CSSAnimationUpdate stack-allocated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698