| Index: Source/core/svg/SVGAElement.cpp
|
| diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp
|
| index b02c7783e7f5083328f0a64e096602c289f5458e..5eca43772ab6ac11dd57bd84117d11b0c7ca56cb 100644
|
| --- a/Source/core/svg/SVGAElement.cpp
|
| +++ b/Source/core/svg/SVGAElement.cpp
|
| @@ -59,15 +59,14 @@ DEFINE_ANIMATED_STRING(SVGAElement, XLinkNames::hrefAttr, Href, href)
|
| DEFINE_ANIMATED_BOOLEAN(SVGAElement, SVGNames::externalResourcesRequiredAttr, ExternalResourcesRequired, externalResourcesRequired)
|
|
|
| BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGAElement)
|
| - REGISTER_LOCAL_ANIMATED_PROPERTY(svgTarget)
|
| - REGISTER_LOCAL_ANIMATED_PROPERTY(href)
|
| - REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired)
|
| - REGISTER_PARENT_ANIMATED_PROPERTIES(SVGStyledTransformableElement)
|
| - REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests)
|
| + REGISTER_LOCAL_ANIMATED_PROPERTY(svgTarget)
|
| + REGISTER_LOCAL_ANIMATED_PROPERTY(href)
|
| + REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired)
|
| + REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGraphicsElement)
|
| END_REGISTER_ANIMATED_PROPERTIES
|
|
|
| inline SVGAElement::SVGAElement(const QualifiedName& tagName, Document* document)
|
| - : SVGStyledTransformableElement(tagName, document)
|
| + : SVGGraphicsElement(tagName, document)
|
| {
|
| ASSERT(hasTagName(SVGNames::aTag));
|
| ScriptWrappable::init(this);
|
| @@ -106,7 +105,7 @@ bool SVGAElement::isSupportedAttribute(const QualifiedName& attrName)
|
| void SVGAElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
| {
|
| if (!isSupportedAttribute(name)) {
|
| - SVGStyledTransformableElement::parseAttribute(name, value);
|
| + SVGGraphicsElement::parseAttribute(name, value);
|
| return;
|
| }
|
|
|
| @@ -130,7 +129,7 @@ void SVGAElement::parseAttribute(const QualifiedName& name, const AtomicString&
|
| void SVGAElement::svgAttributeChanged(const QualifiedName& attrName)
|
| {
|
| if (!isSupportedAttribute(attrName)) {
|
| - SVGStyledTransformableElement::svgAttributeChanged(attrName);
|
| + SVGGraphicsElement::svgAttributeChanged(attrName);
|
| return;
|
| }
|
|
|
| @@ -192,13 +191,13 @@ void SVGAElement::defaultEventHandler(Event* event)
|
| }
|
| }
|
|
|
| - SVGStyledTransformableElement::defaultEventHandler(event);
|
| + SVGGraphicsElement::defaultEventHandler(event);
|
| }
|
|
|
| bool SVGAElement::supportsFocus() const
|
| {
|
| if (rendererIsEditable())
|
| - return SVGStyledTransformableElement::supportsFocus();
|
| + return SVGGraphicsElement::supportsFocus();
|
| return true;
|
| }
|
|
|
| @@ -212,7 +211,7 @@ bool SVGAElement::rendererIsFocusable() const
|
|
|
| bool SVGAElement::isURLAttribute(const Attribute& attribute) const
|
| {
|
| - return attribute.name().localName() == hrefAttr || SVGStyledTransformableElement::isURLAttribute(attribute);
|
| + return attribute.name().localName() == hrefAttr || SVGGraphicsElement::isURLAttribute(attribute);
|
| }
|
|
|
| bool SVGAElement::isMouseFocusable() const
|
|
|