| Index: Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
|
| diff --git a/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h b/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
|
| index 8fbc0b362a8971b12f9638a2ba7c759d557726a4..e49b1ba88b91e6aeff93d70e694e406c0323b3a7 100644
|
| --- a/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
|
| +++ b/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
|
| @@ -32,7 +32,7 @@
|
| #define AnimatableStrokeDasharrayList_h
|
|
|
| #include "core/animation/animatable/AnimatableRepeatable.h"
|
| -#include "core/svg/SVGLengthList.h"
|
| +#include "core/layout/style/SVGLayoutStyleDefs.h"
|
|
|
| namespace blink {
|
|
|
| @@ -40,12 +40,12 @@ class AnimatableStrokeDasharrayList final : public AnimatableRepeatable {
|
| public:
|
| virtual ~AnimatableStrokeDasharrayList() { }
|
|
|
| - static PassRefPtrWillBeRawPtr<AnimatableStrokeDasharrayList> create(PassRefPtrWillBeRawPtr<SVGLengthList> lengths)
|
| + static PassRefPtrWillBeRawPtr<AnimatableStrokeDasharrayList> create(PassRefPtr<SVGDashArray> lengths, float zoom)
|
| {
|
| - return adoptRefWillBeNoop(new AnimatableStrokeDasharrayList(lengths));
|
| + return adoptRefWillBeNoop(new AnimatableStrokeDasharrayList(lengths, zoom));
|
| }
|
|
|
| - PassRefPtrWillBeRawPtr<SVGLengthList> toSVGLengthList() const;
|
| + PassRefPtr<SVGDashArray> toSVGDashArray(float zoom) const;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -54,7 +54,7 @@ protected:
|
| virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
|
|
|
| private:
|
| - explicit AnimatableStrokeDasharrayList(PassRefPtrWillBeRawPtr<SVGLengthList>);
|
| + AnimatableStrokeDasharrayList(PassRefPtr<SVGDashArray>, float zoom);
|
| // This will consume the vector passed into it.
|
| AnimatableStrokeDasharrayList(WillBeHeapVector<RefPtrWillBeMember<AnimatableValue> >& values)
|
| : AnimatableRepeatable(values)
|
|
|