| 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 fdcc1f848c55bb5282acfc48d29bd824e1ae4c9d..dfdd297cbbba6769409444627a6099bd3ad7ab9f 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 Animation* animation, int animationId, double timeOffset, Curve* curve, WebKit::WebAnimation::TargetProperty targetProperty, const FloatSize& boxSize)
|
| +PassOwnPtr<WebKit::WebAnimation> createWebAnimation(const KeyframeValueList& valueList, const PrimitiveAnimation* animation, int animationId, double timeOffset, Curve* curve, WebKit::WebAnimation::TargetProperty targetProperty, const FloatSize& boxSize)
|
| {
|
| bool alternate = false;
|
| bool reverse = false;
|
| if (animation && animation->isDirectionSet()) {
|
| - Animation::AnimationDirection direction = animation->direction();
|
| - if (direction == Animation::AnimationDirectionAlternate || direction == Animation::AnimationDirectionAlternateReverse)
|
| + PrimitiveAnimation::AnimationDirection direction = animation->direction();
|
| + if (direction == PrimitiveAnimation::AnimationDirectionAlternate || direction == PrimitiveAnimation::AnimationDirectionAlternateReverse)
|
| alternate = true;
|
| - if (direction == Animation::AnimationDirectionReverse || direction == Animation::AnimationDirectionAlternateReverse)
|
| + if (direction == PrimitiveAnimation::AnimationDirectionReverse || direction == PrimitiveAnimation::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 Animation* animation, int animationId, double timeOffset, const FloatSize& boxSize)
|
| +PassOwnPtr<WebKit::WebAnimation> createWebAnimation(const KeyframeValueList& values, const PrimitiveAnimation* animation, int animationId, double timeOffset, const FloatSize& boxSize)
|
| {
|
|
|
|
|
|
|