| Index: third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
| index 676146dab788cb9592c3eaf4fcaf2b641047589f..dc0b4b416ad6382fa0fb6c8552b6b3138345e7dd 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
| @@ -81,18 +81,18 @@ Path SVGPathElement::asPath() const
|
|
|
| float SVGPathElement::getTotalLength()
|
| {
|
| - return SVGPathQuery(pathByteStream()).getTotalLength();
|
| + return SVGPathQuery(m_path->currentValue()->byteStream()).getTotalLength();
|
| }
|
|
|
| PassRefPtrWillBeRawPtr<SVGPointTearOff> SVGPathElement::getPointAtLength(float length)
|
| {
|
| - FloatPoint point = SVGPathQuery(pathByteStream()).getPointAtLength(length);
|
| + FloatPoint point = SVGPathQuery(m_path->currentValue()->byteStream()).getPointAtLength(length);
|
| return SVGPointTearOff::create(SVGPoint::create(point), 0, PropertyIsNotAnimVal);
|
| }
|
|
|
| unsigned SVGPathElement::getPathSegAtLength(float length)
|
| {
|
| - return SVGPathQuery(pathByteStream()).getPathSegIndexAtLength(length);
|
| + return SVGPathQuery(m_path->currentValue()->byteStream()).getPathSegIndexAtLength(length);
|
| }
|
|
|
| void SVGPathElement::svgAttributeChanged(const QualifiedName& attrName)
|
|
|