Index: Source/core/platform/graphics/chromium/AnimationTranslationUtil.cpp |
diff --git a/Source/core/platform/graphics/chromium/AnimationTranslationUtil.cpp b/Source/core/platform/graphics/chromium/AnimationTranslationUtil.cpp |
index def63207b5a071da8f95d4d889724c09ce19fb3c..04583657087efbd977ab490a9830ad797c71257b 100644 |
--- a/Source/core/platform/graphics/chromium/AnimationTranslationUtil.cpp |
+++ b/Source/core/platform/graphics/chromium/AnimationTranslationUtil.cpp |
@@ -193,15 +193,15 @@ bool appendKeyframeWithCustomBezierTimingFunction<TransformAnimationValue, WebTr |
} |
template <class Value, class Keyframe, class Curve> |
-PassOwnPtr<WebKit::WebAnimation> createWebAnimation(const KeyframeValueList& valueList, const CSSAnimationData* animation, int animationId, double timeOffset, Curve* curve, WebKit::WebAnimation::TargetProperty targetProperty, const FloatSize& boxSize) |
+PassOwnPtr<WebKit::WebAnimation> createWebAnimation(const KeyframeValueList& valueList, const StyleAnimationData* animation, int animationId, double timeOffset, Curve* curve, WebKit::WebAnimation::TargetProperty targetProperty, const FloatSize& boxSize) |
{ |
bool alternate = false; |
bool reverse = false; |
if (animation && animation->isDirectionSet()) { |
- CSSAnimationData::AnimationDirection direction = animation->direction(); |
- if (direction == CSSAnimationData::AnimationDirectionAlternate || direction == CSSAnimationData::AnimationDirectionAlternateReverse) |
+ StyleAnimationData::AnimationDirection direction = animation->direction(); |
+ if (direction == StyleAnimationData::AnimationDirectionAlternate || direction == StyleAnimationData::AnimationDirectionAlternateReverse) |
alternate = true; |
- if (direction == CSSAnimationData::AnimationDirectionReverse || direction == CSSAnimationData::AnimationDirectionAlternateReverse) |
+ if (direction == StyleAnimationData::AnimationDirectionReverse || direction == StyleAnimationData::AnimationDirectionAlternateReverse) |
reverse = true; |
} |
@@ -274,7 +274,7 @@ PassOwnPtr<WebKit::WebAnimation> createWebAnimation(const KeyframeValueList& val |
return webAnimation.release(); |
} |
-PassOwnPtr<WebKit::WebAnimation> createWebAnimation(const KeyframeValueList& values, const CSSAnimationData* animation, int animationId, double timeOffset, const FloatSize& boxSize) |
+PassOwnPtr<WebKit::WebAnimation> createWebAnimation(const KeyframeValueList& values, const StyleAnimationData* animation, int animationId, double timeOffset, const FloatSize& boxSize) |
{ |