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 18314028bbd63a2ab699c2a79394cbdb2b947cca..6370bcee347af06553e312bdf43bcad71badabc4 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()) { |