Index: Source/core/svg/SVGCircleElement.cpp |
diff --git a/Source/core/svg/SVGCircleElement.cpp b/Source/core/svg/SVGCircleElement.cpp |
index e1d6ba3bb6d1a1ac0571f2865341c9d0ee569e2a..93a899cc557a205110d1f4fd7cec8370a1d1f251 100644 |
--- a/Source/core/svg/SVGCircleElement.cpp |
+++ b/Source/core/svg/SVGCircleElement.cpp |
@@ -33,13 +33,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 |
@@ -62,7 +60,6 @@ bool SVGCircleElement::isSupportedAttribute(const QualifiedName& attrName) |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
if (supportedAttributes.isEmpty()) { |
- SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes); |
supportedAttributes.add(SVGNames::cxAttr); |
supportedAttributes.add(SVGNames::cyAttr); |
supportedAttributes.add(SVGNames::rAttr); |
@@ -82,8 +79,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 (SVGExternalResourcesRequired::parseAttribute(name, value)) { |
- } else |
+ else |
ASSERT_NOT_REACHED(); |
reportAttributeParsingError(parseError, name, value); |
@@ -115,11 +111,6 @@ void SVGCircleElement::svgAttributeChanged(const QualifiedName& attrName) |
return; |
} |
- if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) { |
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer); |
- return; |
- } |
- |
ASSERT_NOT_REACHED(); |
} |