| Index: third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp b/third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp
|
| index 489598c0ed39bf4ceb9cd070f42714445c0ee5ca..c2161df28c56c5ea2e518d02038012fab2f1bbd0 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp
|
| @@ -30,17 +30,20 @@ inline SVGEllipseElement::SVGEllipseElement(Document& document)
|
| : SVGGeometryElement(SVGNames::ellipseTag, document),
|
| m_cx(SVGAnimatedLength::create(this,
|
| SVGNames::cxAttr,
|
| - SVGLength::create(SVGLengthMode::Width))),
|
| + SVGLength::create(SVGLengthMode::Width),
|
| + CSSPropertyCx)),
|
| m_cy(SVGAnimatedLength::create(this,
|
| SVGNames::cyAttr,
|
| - SVGLength::create(SVGLengthMode::Height))),
|
| + SVGLength::create(SVGLengthMode::Height),
|
| + CSSPropertyCy)),
|
| m_rx(SVGAnimatedLength::create(this,
|
| SVGNames::rxAttr,
|
| - SVGLength::create(SVGLengthMode::Width))),
|
| - m_ry(
|
| - SVGAnimatedLength::create(this,
|
| - SVGNames::ryAttr,
|
| - SVGLength::create(SVGLengthMode::Height))) {
|
| + SVGLength::create(SVGLengthMode::Width),
|
| + CSSPropertyRx)),
|
| + m_ry(SVGAnimatedLength::create(this,
|
| + SVGNames::ryAttr,
|
| + SVGLength::create(SVGLengthMode::Height),
|
| + CSSPropertyRy)) {
|
| addToPropertyMap(m_cx);
|
| addToPropertyMap(m_cy);
|
| addToPropertyMap(m_rx);
|
| @@ -87,22 +90,6 @@ Path SVGEllipseElement::asPath() const {
|
| return path;
|
| }
|
|
|
| -bool SVGEllipseElement::isPresentationAttribute(
|
| - const QualifiedName& attrName) const {
|
| - if (attrName == SVGNames::cxAttr || attrName == SVGNames::cyAttr ||
|
| - attrName == SVGNames::rxAttr || attrName == SVGNames::ryAttr)
|
| - return true;
|
| - return SVGGeometryElement::isPresentationAttribute(attrName);
|
| -}
|
| -
|
| -bool SVGEllipseElement::isPresentationAttributeWithSVGDOM(
|
| - const QualifiedName& attrName) const {
|
| - if (attrName == SVGNames::cxAttr || attrName == SVGNames::cyAttr ||
|
| - attrName == SVGNames::rxAttr || attrName == SVGNames::ryAttr)
|
| - return true;
|
| - return SVGGeometryElement::isPresentationAttributeWithSVGDOM(attrName);
|
| -}
|
| -
|
| void SVGEllipseElement::collectStyleForPresentationAttribute(
|
| const QualifiedName& name,
|
| const AtomicString& value,
|
|
|