Index: Source/core/svg/SVGCircleElement.cpp |
diff --git a/Source/core/svg/SVGCircleElement.cpp b/Source/core/svg/SVGCircleElement.cpp |
index 8852d8c33af7b859e0e5d3f68b7ee307b8531316..bbac41836dd8849b2b2242c5436635a0bebed56a 100644 |
--- a/Source/core/svg/SVGCircleElement.cpp |
+++ b/Source/core/svg/SVGCircleElement.cpp |
@@ -34,13 +34,11 @@ namespace WebCore { |
DEFINE_ANIMATED_LENGTH(SVGCircleElement, SVGNames::cxAttr, Cx, cx) |
DEFINE_ANIMATED_LENGTH(SVGCircleElement, SVGNames::cyAttr, Cy, cy) |
DEFINE_ANIMATED_LENGTH(SVGCircleElement, SVGNames::rAttr, R, r) |
-DEFINE_ANIMATED_BOOLEAN(SVGCircleElement, SVGNames::externalResourcesRequiredAttr, ExternalResourcesRequired, externalResourcesRequired) |
BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGCircleElement) |
REGISTER_LOCAL_ANIMATED_PROPERTY(cx) |
REGISTER_LOCAL_ANIMATED_PROPERTY(cy) |
REGISTER_LOCAL_ANIMATED_PROPERTY(r) |
- REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGraphicsElement) |
END_REGISTER_ANIMATED_PROPERTIES |
@@ -65,7 +63,6 @@ bool SVGCircleElement::isSupportedAttribute(const QualifiedName& attrName) |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
if (supportedAttributes.isEmpty()) { |
SVGLangSpace::addSupportedAttributes(supportedAttributes); |
- SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes); |
supportedAttributes.add(SVGNames::cxAttr); |
supportedAttributes.add(SVGNames::cyAttr); |
supportedAttributes.add(SVGNames::rAttr); |
@@ -85,8 +82,7 @@ void SVGCircleElement::parseAttribute(const QualifiedName& name, const AtomicStr |
setCyBaseValue(SVGLength::construct(LengthModeHeight, value, parseError)); |
else if (name == SVGNames::rAttr) |
setRBaseValue(SVGLength::construct(LengthModeOther, value, parseError, ForbidNegativeLengths)); |
- else if (SVGLangSpace::parseAttribute(name, value) |
- || SVGExternalResourcesRequired::parseAttribute(name, value)) { |
+ else if (SVGLangSpace::parseAttribute(name, value)) { |
} else |
ASSERT_NOT_REACHED(); |
@@ -119,7 +115,7 @@ void SVGCircleElement::svgAttributeChanged(const QualifiedName& attrName) |
return; |
} |
- if (SVGLangSpace::isKnownAttribute(attrName) || SVGExternalResourcesRequired::isKnownAttribute(attrName)) { |
+ if (SVGLangSpace::isKnownAttribute(attrName)) { |
RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer); |
return; |
} |