Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(550)

Unified Diff: third_party/WebKit/Source/core/svg/SVGElement.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElement.h ('k') | third_party/WebKit/Source/core/svg/SVGElementRareData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698