Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Unified Diff: Source/core/animation/AnimatableStrokeDasharrayList.h

Issue 112003003: [SVG] SVGLength{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert aggressive svgAttributeChanged, add NeedsRebaseline Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
« no previous file with comments | « Source/core/animation/AnimatableSVGLength.cpp ('k') | Source/core/animation/AnimatableStrokeDasharrayList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698