Index: Source/core/animation/AnimatableStrokeDasharrayList.h |
diff --git a/Source/core/animation/AnimatableStrokeDasharrayList.h b/Source/core/animation/AnimatableStrokeDasharrayList.h |
index 50855b8178e47c20782c01ffecd900ccf8068cbe..5c564f80b46620005481e207f4a37a414bb02c6d 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 FINAL : 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) |