Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGElement.h
index 0efc69a..366065c 100644 (file)
@@ -51,6 +51,7 @@ void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyName
 typedef WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> > SVGElementSet;
 
 class SVGElement : public Element {
+    DEFINE_WRAPPERTYPEINFO();
 public:
     virtual ~SVGElement();
     virtual void attach(const AttachContext&) OVERRIDE;
@@ -148,9 +149,6 @@ public:
 
     void invalidateRelativeLengthClients(SubtreeLayoutScope* = 0);
 
-    bool isContextElement() const { return m_isContextElement; }
-    void setContextElement() { m_isContextElement = true; }
-
     void addToPropertyMap(PassRefPtr<SVGAnimatedPropertyBase>);
 
     SVGAnimatedString* className() { return m_className.get(); }
@@ -251,7 +249,6 @@ private:
 #if ENABLE(ASSERT)
     bool m_inRelativeLengthClientsInvalidation;
 #endif
-    unsigned m_isContextElement : 1;
 
     OwnPtrWillBeMember<SVGElementRareData> m_SVGRareData;
     RefPtr<SVGAnimatedString> m_className;
@@ -291,8 +288,8 @@ inline bool Node::hasTagName(const SVGQualifiedName& name) const
     template <> inline bool isElementOfType<const thisType>(const SVGElement& element) { return is##thisType(element); } \
     DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
 
-}
+} // namespace blink
 
 #include "core/SVGElementTypeHelpers.h"
 
-#endif
+#endif // SVGElement_h