| Index: sky/engine/core/animation/animatable/AnimatableColor.h
|
| diff --git a/sky/engine/core/animation/animatable/AnimatableColor.h b/sky/engine/core/animation/animatable/AnimatableColor.h
|
| index cca1c4e315318c86f0e6ee8ae812b2b8d9c2fcc6..7589a0588c645e9c1b0f3742b2817cd349256d6f 100644
|
| --- a/sky/engine/core/animation/animatable/AnimatableColor.h
|
| +++ b/sky/engine/core/animation/animatable/AnimatableColor.h
|
| @@ -58,9 +58,8 @@ private:
|
| // but inefficient.
|
| class AnimatableColor FINAL : public AnimatableValue {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<AnimatableColor> create(const AnimatableColorImpl&, const AnimatableColorImpl& visitedLinkColor);
|
| + static PassRefPtrWillBeRawPtr<AnimatableColor> create(const AnimatableColorImpl&);
|
| Color color() const { return m_color.toColor(); }
|
| - Color visitedLinkColor() const { return m_visitedLinkColor.toColor(); }
|
|
|
| virtual void trace(Visitor* visitor) OVERRIDE { AnimatableValue::trace(visitor); }
|
|
|
| @@ -68,16 +67,14 @@ protected:
|
| virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
|
|
|
| private:
|
| - AnimatableColor(const AnimatableColorImpl& color, const AnimatableColorImpl& visitedLinkColor)
|
| + AnimatableColor(const AnimatableColorImpl& color)
|
| : m_color(color)
|
| - , m_visitedLinkColor(visitedLinkColor)
|
| {
|
| }
|
| virtual AnimatableType type() const OVERRIDE { return TypeColor; }
|
| virtual bool equalTo(const AnimatableValue*) const OVERRIDE;
|
| virtual double distanceTo(const AnimatableValue*) const OVERRIDE;
|
| const AnimatableColorImpl m_color;
|
| - const AnimatableColorImpl m_visitedLinkColor;
|
| };
|
|
|
| DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableColor, isColor());
|
|
|