Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGElement.h
index 7064ccb..2bac4f0 100644 (file)
@@ -133,7 +133,7 @@ public:
     virtual void synchronizeSystemLanguage() { }
 
 #ifndef NDEBUG
-    bool isAnimatableAttribute(const QualifiedName&) const;
+    virtual bool isAnimatableAttribute(const QualifiedName&) const;
 #endif
 
     MutableStylePropertySet* animatedSMILStyleProperties() const;
@@ -150,7 +150,9 @@ public:
     bool isContextElement() const { return m_isContextElement; }
     void setContextElement() { m_isContextElement = true; }
 
-    virtual bool childShouldCreateRenderer(const Node& child) const { return true; }
+    void addToPropertyMap(PassRefPtr<NewSVGAnimatedPropertyBase>);
+
+    SVGAnimatedString* className() { return m_className.get(); }
 
 protected:
     SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElement);
@@ -205,8 +207,6 @@ protected:
         SVGElement* m_owner;
     };
 
-    void addToPropertyMap(PassRefPtr<NewSVGAnimatedPropertyBase>);
-
 private:
     friend class SVGElementInstance;
 
@@ -231,9 +231,6 @@ private:
 
     typedef HashMap<QualifiedName, RefPtr<NewSVGAnimatedPropertyBase> > AttributeToPropertyMap;
     AttributeToPropertyMap m_newAttributeToPropertyMap;
-    BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGElement)
-        DECLARE_ANIMATED_STRING(ClassName, className)
-    END_DECLARE_ANIMATED_PROPERTIES
 
 #if !ASSERT_DISABLED
     bool m_inRelativeLengthClientsInvalidation;
@@ -241,6 +238,10 @@ private:
     unsigned m_animatedPropertiesDestructed : 1;
     unsigned m_isContextElement : 1;
     unsigned m_hasSVGRareData : 1;
+
+    RefPtr<SVGAnimatedString> m_className;
+    BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGElement)
+    END_DECLARE_ANIMATED_PROPERTIES
 };
 
 struct SVGAttributeHashTranslator {