Index: Source/core/animation/css/CSSAnimationUpdate.h |
diff --git a/Source/core/animation/css/CSSAnimationUpdate.h b/Source/core/animation/css/CSSAnimationUpdate.h |
index 20883bce157478b70035b0256f9098d33111e25d..ec228217e4f3a41dee0f3685a8b58dcdf5039ac1 100644 |
--- a/Source/core/animation/css/CSSAnimationUpdate.h |
+++ b/Source/core/animation/css/CSSAnimationUpdate.h |
@@ -151,11 +151,11 @@ public: |
m_animationsWithUpdates.append(UpdatedAnimation(name, player, animation, specifiedTiming, styleRule)); |
m_suppressedAnimationPlayers.add(player); |
} |
- void updateAnimationStyle(AnimationPlayer* player, KeyframeEffectModelBase* effect, LayoutObject* renderer, const LayoutStyle& newStyle) |
+ void updateAnimationStyle(AnimationPlayer* player, KeyframeEffectModelBase* effect, LayoutObject* renderer, const ComputedStyle& newStyle) |
{ |
UpdatedAnimationStyle::CompositableStyleSnapshot snapshot; |
if (renderer) { |
- const LayoutStyle& oldStyle = renderer->styleRef(); |
+ const ComputedStyle& oldStyle = renderer->styleRef(); |
if (!CSSPropertyEquality::propertiesEqual(CSSPropertyOpacity, oldStyle, newStyle) && effect->affects(CSSPropertyOpacity)) |
snapshot.opacity = CSSAnimatableValueFactory::create(CSSPropertyOpacity, newStyle); |
if (!CSSPropertyEquality::propertiesEqual(CSSPropertyTransform, oldStyle, newStyle) && effect->affects(CSSPropertyTransform)) |