| Index: Source/core/svg/SVGStyleElement.cpp
|
| diff --git a/Source/core/svg/SVGStyleElement.cpp b/Source/core/svg/SVGStyleElement.cpp
|
| index b984bbadca9d5b28bcda4d615a01a32b04b0e195..51e1248ab0d73fe3ae26d6aa289b53b8046c0252 100644
|
| --- a/Source/core/svg/SVGStyleElement.cpp
|
| +++ b/Source/core/svg/SVGStyleElement.cpp
|
| @@ -95,28 +95,16 @@ void SVGStyleElement::setTitle(const AtomicString& title)
|
| setAttribute(SVGNames::titleAttr, title);
|
| }
|
|
|
| -bool SVGStyleElement::isSupportedAttribute(const QualifiedName& attrName)
|
| -{
|
| - DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ());
|
| - if (supportedAttributes.isEmpty())
|
| - supportedAttributes.add(SVGNames::titleAttr);
|
| - return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName);
|
| -}
|
| -
|
| void SVGStyleElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
| {
|
| - if (!isSupportedAttribute(name)) {
|
| - SVGElement::parseAttribute(name, value);
|
| - return;
|
| - }
|
| -
|
| if (name == SVGNames::titleAttr) {
|
| if (m_sheet)
|
| m_sheet->setTitle(value);
|
| +
|
| return;
|
| }
|
|
|
| - ASSERT_NOT_REACHED();
|
| + SVGElement::parseAttribute(name, value);
|
| }
|
|
|
| void SVGStyleElement::finishParsingChildren()
|
|
|