Index: third_party/WebKit/Source/core/animation/EffectInput.cpp |
diff --git a/third_party/WebKit/Source/core/animation/EffectInput.cpp b/third_party/WebKit/Source/core/animation/EffectInput.cpp |
index d5226762ec115b23b84e980c7cddc96153edd4c8..092dc6d5e23f242d0b0a9785eeca8752991f0f51 100644 |
--- a/third_party/WebKit/Source/core/animation/EffectInput.cpp |
+++ b/third_party/WebKit/Source/core/animation/EffectInput.cpp |
@@ -102,7 +102,7 @@ EffectModel* createEffectModelFromKeyframes(Element& element, const StringKeyfra |
{ |
// TODO(alancutter): Remove this once composited animations no longer depend on AnimatableValues. |
if (encounteredCompositableProperty && element.inActiveDocument()) |
- element.document().updateLayoutTreeForNode(&element); |
+ element.document().updateStyleAndLayoutTreeForNode(&element); |
StringKeyframeEffectModel* keyframeEffectModel = StringKeyframeEffectModel::create(keyframes, LinearTimingFunction::shared()); |
if (!RuntimeEnabledFeatures::cssAdditiveAnimationsEnabled()) { |