| Index: Source/core/svg/SVGPathElement.cpp
|
| diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp
|
| index ffb67cf9fa6e87f5110b0d7e1b98bc6b0cf69426..41e7c46e0d7fc3c9b3fa51e703dcc6f785a9e5c2 100644
|
| --- a/Source/core/svg/SVGPathElement.cpp
|
| +++ b/Source/core/svg/SVGPathElement.cpp
|
| @@ -46,6 +46,7 @@
|
| #include "core/svg/SVGPathSegMovetoAbs.h"
|
| #include "core/svg/SVGPathSegMovetoRel.h"
|
| #include "core/svg/SVGPathUtilities.h"
|
| +#include "core/svg/SVGPointTearOff.h"
|
| #include "core/svg/properties/SVGPathSegListPropertyTearOff.h"
|
|
|
| namespace WebCore {
|
| @@ -96,11 +97,11 @@ float SVGPathElement::getTotalLength()
|
| return totalLength;
|
| }
|
|
|
| -SVGPoint SVGPathElement::getPointAtLength(float length)
|
| +PassRefPtr<SVGPointTearOff> SVGPathElement::getPointAtLength(float length)
|
| {
|
| - SVGPoint point;
|
| + FloatPoint point;
|
| getPointAtLengthOfSVGPathByteStream(pathByteStream(), length, point);
|
| - return point;
|
| + return SVGPointTearOff::create(SVGPoint::create(point), 0, PropertyIsNotAnimVal);
|
| }
|
|
|
| unsigned SVGPathElement::getPathSegAtLength(float length)
|
|
|