| 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 7b734eaabe5fbc7fb05a141da59231127a54af50..d65a378887c3fa87b332ce1d6a6c3683e3ff56a3 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
| @@ -54,7 +54,7 @@ class SVGAnimatedPathLength final : public SVGAnimatedNumber {
|
| inline SVGPathElement::SVGPathElement(Document& document)
|
| : SVGGeometryElement(SVGNames::pathTag, document),
|
| m_pathLength(SVGAnimatedPathLength::create(this)),
|
| - m_path(SVGAnimatedPath::create(this, SVGNames::dAttr)) {
|
| + m_path(SVGAnimatedPath::create(this, SVGNames::dAttr, CSSPropertyD)) {
|
| addToPropertyMap(m_pathLength);
|
| addToPropertyMap(m_path);
|
| }
|
| @@ -116,20 +116,6 @@ unsigned SVGPathElement::getPathSegAtLength(float length) {
|
| return SVGPathQuery(pathByteStream()).getPathSegIndexAtLength(length);
|
| }
|
|
|
| -bool SVGPathElement::isPresentationAttribute(
|
| - const QualifiedName& attrName) const {
|
| - if (attrName == SVGNames::dAttr)
|
| - return true;
|
| - return SVGGeometryElement::isPresentationAttribute(attrName);
|
| -}
|
| -
|
| -bool SVGPathElement::isPresentationAttributeWithSVGDOM(
|
| - const QualifiedName& attrName) const {
|
| - if (attrName == SVGNames::dAttr)
|
| - return true;
|
| - return SVGGeometryElement::isPresentationAttributeWithSVGDOM(attrName);
|
| -}
|
| -
|
| void SVGPathElement::svgAttributeChanged(const QualifiedName& attrName) {
|
| if (attrName == SVGNames::dAttr) {
|
| SVGElement::InvalidationGuard invalidationGuard(this);
|
|
|