Index: Source/core/svg/SVGElement.cpp |
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp |
index d0648dccdef1c8a04f4d95ee009536bf63d10b3a..e5ce7a6c412f594d6c9bff412dddca7f1bcfe217 100644 |
--- a/Source/core/svg/SVGElement.cpp |
+++ b/Source/core/svg/SVGElement.cpp |
@@ -256,24 +256,6 @@ String SVGElement::title() const |
return String(); |
} |
-PassRefPtrWillBeRawPtr<CSSValue> SVGElement::getPresentationAttribute(const AtomicString& name) |
-{ |
- if (!hasAttributesWithoutUpdate()) |
- return nullptr; |
- |
- QualifiedName attributeName(nullAtom, name, nullAtom); |
- const Attribute* attr = getAttributeItem(attributeName); |
- if (!attr) |
- return nullptr; |
- |
- RefPtrWillBeRawPtr<MutableStylePropertySet> style = MutableStylePropertySet::create(SVGAttributeMode); |
- CSSPropertyID propertyID = SVGElement::cssPropertyIdForSVGAttributeName(attr->name()); |
- style->setProperty(propertyID, attr->value()); |
- RefPtrWillBeRawPtr<CSSValue> cssValue = style->getPropertyCSSValue(propertyID); |
- return cssValue ? cssValue->cloneForCSSOM() : nullptr; |
-} |
- |
- |
bool SVGElement::instanceUpdatesBlocked() const |
{ |
return hasSVGRareData() && svgRareData()->instanceUpdatesBlocked(); |