Index: third_party/WebKit/Source/core/svg/SVGElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp |
index 5024d320e456a34ab3ac57681c10f25116eb4054..5b8399e8d3b864f1dd946398d4557ef875517260 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp |
@@ -157,6 +157,17 @@ SVGElementRareData* SVGElement::ensureSVGRareData() |
return m_SVGRareData.get(); |
} |
+bool SVGElement::hasSVGRareData() const |
+{ |
+ return m_SVGRareData; |
+} |
+ |
+SVGElementRareData* SVGElement::svgRareData() const |
+{ |
+ ASSERT(m_SVGRareData); |
+ return m_SVGRareData.get(); |
+} |
+ |
bool SVGElement::isOutermostSVGSVGElement() const |
{ |
if (!isSVGSVGElement(*this)) |
@@ -681,6 +692,11 @@ void SVGElement::addToPropertyMap(PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase |
m_attributeToPropertyMap.set(attributeName, property.release()); |
} |
+SVGAnimatedString* SVGElement::className() |
+{ |
+ return m_className.get(); |
+} |
+ |
PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> SVGElement::propertyFromAttribute(const QualifiedName& attributeName) |
{ |
AttributeToPropertyMap::iterator it = m_attributeToPropertyMap.find<SVGAttributeHashTranslator>(attributeName); |