X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fsvg%2FSVGElement.h;h=366065c2bfa103efcfd3e892face544af6fa2bf7;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=0efc69a50005c412af110158905a502825ead50b;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/svg/SVGElement.h b/src/third_party/WebKit/Source/core/svg/SVGElement.h index 0efc69a..366065c 100644 --- a/src/third_party/WebKit/Source/core/svg/SVGElement.h +++ b/src/third_party/WebKit/Source/core/svg/SVGElement.h @@ -51,6 +51,7 @@ void mapAttributeToCSSProperty(HashMap* propertyName typedef WillBeHeapHashSet > 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); SVGAnimatedString* className() { return m_className.get(); } @@ -251,7 +249,6 @@ private: #if ENABLE(ASSERT) bool m_inRelativeLengthClientsInvalidation; #endif - unsigned m_isContextElement : 1; OwnPtrWillBeMember m_SVGRareData; RefPtr m_className; @@ -291,8 +288,8 @@ inline bool Node::hasTagName(const SVGQualifiedName& name) const template <> inline bool isElementOfType(const SVGElement& element) { return is##thisType(element); } \ DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) -} +} // namespace blink #include "core/SVGElementTypeHelpers.h" -#endif +#endif // SVGElement_h