| Index: Source/core/animation/AnimatableStrokeDasharrayList.h
|
| diff --git a/Source/core/animation/AnimatableStrokeDasharrayList.h b/Source/core/animation/AnimatableStrokeDasharrayList.h
|
| index 8efea25ad537964c5b30393d173ecc1f612aee89..47e8f11b20dd89b7ddf05782d1596805921fde9f 100644
|
| --- a/Source/core/animation/AnimatableStrokeDasharrayList.h
|
| +++ b/Source/core/animation/AnimatableStrokeDasharrayList.h
|
| @@ -32,7 +32,7 @@
|
| #define AnimatableStrokeDasharrayList_h
|
|
|
| #include "core/animation/AnimatableRepeatable.h"
|
| -#include "core/svg/SVGLength.h"
|
| +#include "core/svg/SVGLengthList.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -40,19 +40,19 @@ class AnimatableStrokeDasharrayList: public AnimatableRepeatable {
|
| public:
|
| virtual ~AnimatableStrokeDasharrayList() { }
|
|
|
| - static PassRefPtr<AnimatableStrokeDasharrayList> create(const Vector<SVGLength>& lengths)
|
| + static PassRefPtr<AnimatableStrokeDasharrayList> create(PassRefPtr<SVGLengthList> lengths)
|
| {
|
| return adoptRef(new AnimatableStrokeDasharrayList(lengths));
|
| }
|
|
|
| - Vector<SVGLength> toSVGLengthVector() const;
|
| + PassRefPtr<SVGLengthList> toSVGLengthList() const;
|
|
|
| protected:
|
| virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
|
| virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const OVERRIDE;
|
|
|
| private:
|
| - AnimatableStrokeDasharrayList(const Vector<SVGLength>&);
|
| + AnimatableStrokeDasharrayList(PassRefPtr<SVGLengthList>);
|
| // This will consume the vector passed into it.
|
| AnimatableStrokeDasharrayList(Vector<RefPtr<AnimatableValue> >& values)
|
| : AnimatableRepeatable(values)
|
|
|