Index: Source/core/svg/SVGMPathElement.cpp |
diff --git a/Source/core/svg/SVGMPathElement.cpp b/Source/core/svg/SVGMPathElement.cpp |
index dcb322148a96dca6ca70017adfcb759623948b3d..de1821ecd974f006c8b79159bf451ff0e8606b4f 100644 |
--- a/Source/core/svg/SVGMPathElement.cpp |
+++ b/Source/core/svg/SVGMPathElement.cpp |
@@ -91,44 +91,17 @@ void SVGMPathElement::removedFrom(ContainerNode* rootParent) |
clearResourceReferences(); |
} |
-bool SVGMPathElement::isSupportedAttribute(const QualifiedName& attrName) |
-{ |
- DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |
- if (supportedAttributes.isEmpty()) { |
- SVGURIReference::addSupportedAttributes(supportedAttributes); |
- } |
- return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName); |
-} |
- |
void SVGMPathElement::parseAttribute(const QualifiedName& name, const AtomicString& value) |
{ |
- SVGParsingError parseError = NoError; |
- |
- if (!isSupportedAttribute(name)) { |
- SVGElement::parseAttribute(name, value); |
- } else if (SVGURIReference::parseAttribute(name, value, parseError)) { |
- } else { |
- ASSERT_NOT_REACHED(); |
- } |
- |
- reportAttributeParsingError(parseError, name, value); |
+ parseAttributeNew(name, value); |
} |
void SVGMPathElement::svgAttributeChanged(const QualifiedName& attrName) |
{ |
- if (!isSupportedAttribute(attrName)) { |
- SVGElement::svgAttributeChanged(attrName); |
- return; |
- } |
- |
- SVGElement::InvalidationGuard invalidationGuard(this); |
- |
if (SVGURIReference::isKnownAttribute(attrName)) { |
+ SVGElement::InvalidationGuard invalidationGuard(this); |
buildPendingResource(); |
- return; |
} |
fs
2014/10/15 09:06:45
When eliding the call to the superclass it might b
kouhei (in TOK)
2014/10/15 10:02:00
Thanks for the catch.
This was by accident. The m
|
- |
- ASSERT_NOT_REACHED(); |
} |
SVGPathElement* SVGMPathElement::pathElement() |