Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index dd2e82d38908db2c89904c793b053b3e464b3a1c..f268aa4572730bbb0c2e1649e484f1f36175cac9 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -1617,7 +1617,7 @@ PassRefPtr<RenderStyle> CSSComputedStyleDeclaration::computeRenderStyle(CSSPrope |
ASSERT(styledNode); |
RenderObject* renderer = styledNode->renderer(); |
if (renderer && renderer->isComposited() && !RuntimeEnabledFeatures::webAnimationsCSSEnabled() && AnimationController::supportsAcceleratedAnimationOfProperty(propertyID)) { |
- AnimationUpdateBlock animationUpdateBlock(renderer->animation()); |
+ AnimationUpdateBlock animationUpdateBlock(renderer->animation().get()); |
if (m_pseudoElementSpecifier && !styledNode->isPseudoElement()) { |
// FIXME: This cached pseudo style will only exist if the animation has been run at least once. |
return renderer->animation()->getAnimatedStyleForRenderer(renderer)->getCachedPseudoStyle(m_pseudoElementSpecifier); |