Index: Source/core/rendering/style/RenderStyle.cpp |
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp |
index 5839a7753f6c3a3f37835e7b801cbb763562fbbd..e8a430d7a5727bac5dff3c238027c0e93032a71b 100644 |
--- a/Source/core/rendering/style/RenderStyle.cpp |
+++ b/Source/core/rendering/style/RenderStyle.cpp |
@@ -1140,12 +1140,12 @@ AnimationList* RenderStyle::accessTransitions() |
return rareNonInheritedData->m_transitions.get(); |
} |
-const Animation* RenderStyle::transitionForProperty(CSSPropertyID property) const |
+const PrimitiveAnimation* RenderStyle::transitionForProperty(CSSPropertyID property) const |
{ |
if (transitions()) { |
for (size_t i = 0; i < transitions()->size(); ++i) { |
- const Animation* p = transitions()->animation(i); |
- if (p->animationMode() == Animation::AnimateAll || p->property() == property) { |
+ const PrimitiveAnimation* p = transitions()->animation(i); |
+ if (p->animationMode() == PrimitiveAnimation::AnimateAll || p->property() == property) { |
return p; |
} |
} |