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 113b027f7eead20dab0cde9365af799faf63b7d8..1ed87f83ed18bc54f6ac97098de3173802ced650 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp |
@@ -72,8 +72,7 @@ float SVGPathElement::getTotalLength() { |
SVGPointTearOff* SVGPathElement::getPointAtLength(float length) { |
GetDocument().UpdateStyleAndLayoutIgnorePendingStylesheets(); |
FloatPoint point = SVGPathQuery(PathByteStream()).GetPointAtLength(length); |
- return SVGPointTearOff::Create(SVGPoint::Create(point), 0, |
- kPropertyIsNotAnimVal); |
+ return SVGPointTearOff::CreateDetached(point); |
} |
unsigned SVGPathElement::getPathSegAtLength(float length) { |