| Index: Source/core/svg/SVGPolyElement.h
|
| diff --git a/Source/core/svg/SVGPolyElement.h b/Source/core/svg/SVGPolyElement.h
|
| index 87fe55c0021f78d59dc2012d431ae55c20a92d76..28e6f03011f73c573c0dd1fe3e7ab7209fd914cf 100644
|
| --- a/Source/core/svg/SVGPolyElement.h
|
| +++ b/Source/core/svg/SVGPolyElement.h
|
| @@ -23,19 +23,17 @@
|
|
|
| #include "SVGNames.h"
|
| #include "core/svg/SVGAnimatedBoolean.h"
|
| +#include "core/svg/SVGAnimatedPointList.h"
|
| #include "core/svg/SVGGeometryElement.h"
|
| -#include "core/svg/SVGPointList.h"
|
|
|
| namespace WebCore {
|
|
|
| class SVGPolyElement : public SVGGeometryElement {
|
| public:
|
| - SVGListPropertyTearOff<SVGPointList>* points();
|
| - SVGListPropertyTearOff<SVGPointList>* animatedPoints();
|
| + SVGAnimatedPointList* points() { return m_points.get(); }
|
|
|
| - SVGPointList& pointsCurrentValue();
|
| -
|
| - static const SVGPropertyInfo* pointsPropertyInfo();
|
| + PassRefPtr<SVGPointListTearOff> pointsFromJavascript() { return m_points->baseVal(); }
|
| + PassRefPtr<SVGPointListTearOff> animatedPoints() { return m_points->animVal(); }
|
|
|
| protected:
|
| SVGPolyElement(const QualifiedName&, Document&);
|
| @@ -49,13 +47,9 @@ private:
|
|
|
| virtual bool supportsMarkers() const OVERRIDE FINAL { return true; }
|
|
|
| - // Custom 'points' property
|
| - static void synchronizePoints(SVGElement* contextElement);
|
| - static PassRefPtr<SVGAnimatedProperty> lookupOrCreatePointsWrapper(SVGElement* contextElement);
|
| -
|
| - mutable SVGSynchronizableAnimatedProperty<SVGPointList> m_points;
|
| -
|
| private:
|
| + RefPtr<SVGAnimatedPointList> m_points;
|
| +
|
| BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPolyElement)
|
| END_DECLARE_ANIMATED_PROPERTIES
|
| };
|
|
|