| Index: Source/core/svg/SVGRectElement.cpp
|
| diff --git a/Source/core/svg/SVGRectElement.cpp b/Source/core/svg/SVGRectElement.cpp
|
| index 61c539edf11bcd63234ba9096c14ac417b42ae60..6f3377f0080b1498e61281b80057de8435c59960 100644
|
| --- a/Source/core/svg/SVGRectElement.cpp
|
| +++ b/Source/core/svg/SVGRectElement.cpp
|
| @@ -36,7 +36,6 @@ DEFINE_ANIMATED_LENGTH(SVGRectElement, SVGNames::widthAttr, Width, width)
|
| DEFINE_ANIMATED_LENGTH(SVGRectElement, SVGNames::heightAttr, Height, height)
|
| DEFINE_ANIMATED_LENGTH(SVGRectElement, SVGNames::rxAttr, Rx, rx)
|
| DEFINE_ANIMATED_LENGTH(SVGRectElement, SVGNames::ryAttr, Ry, ry)
|
| -DEFINE_ANIMATED_BOOLEAN(SVGRectElement, SVGNames::externalResourcesRequiredAttr, ExternalResourcesRequired, externalResourcesRequired)
|
|
|
| BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGRectElement)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(x)
|
| @@ -45,7 +44,6 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGRectElement)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(height)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(rx)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(ry)
|
| - REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired)
|
| REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGraphicsElement)
|
| END_REGISTER_ANIMATED_PROPERTIES
|
|
|
| @@ -71,7 +69,6 @@ bool SVGRectElement::isSupportedAttribute(const QualifiedName& attrName)
|
| {
|
| DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ());
|
| if (supportedAttributes.isEmpty()) {
|
| - SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes);
|
| supportedAttributes.add(SVGNames::xAttr);
|
| supportedAttributes.add(SVGNames::yAttr);
|
| supportedAttributes.add(SVGNames::widthAttr);
|
| @@ -100,8 +97,7 @@ void SVGRectElement::parseAttribute(const QualifiedName& name, const AtomicStrin
|
| setWidthBaseValue(SVGLength::construct(LengthModeWidth, value, parseError, ForbidNegativeLengths));
|
| else if (name == SVGNames::heightAttr)
|
| setHeightBaseValue(SVGLength::construct(LengthModeHeight, value, parseError, ForbidNegativeLengths));
|
| - else if (SVGExternalResourcesRequired::parseAttribute(name, value)) {
|
| - } else
|
| + else
|
| ASSERT_NOT_REACHED();
|
|
|
| reportAttributeParsingError(parseError, name, value);
|
| @@ -136,11 +132,6 @@ void SVGRectElement::svgAttributeChanged(const QualifiedName& attrName)
|
| return;
|
| }
|
|
|
| - if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) {
|
| - RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer);
|
| - return;
|
| - }
|
| -
|
| ASSERT_NOT_REACHED();
|
| }
|
|
|
|
|