diff options
Diffstat (limited to 'WebCore/svg/SVGGElement.h')
-rw-r--r-- | WebCore/svg/SVGGElement.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/WebCore/svg/SVGGElement.h b/WebCore/svg/SVGGElement.h index 107fa3c..a149351 100644 --- a/WebCore/svg/SVGGElement.h +++ b/WebCore/svg/SVGGElement.h @@ -34,10 +34,16 @@ namespace WebCore { public SVGLangSpace, public SVGExternalResourcesRequired { public: - SVGGElement(const QualifiedName&, Document*); - virtual ~SVGGElement(); + static PassRefPtr<SVGGElement> create(const QualifiedName&, Document*); virtual bool isShadowTreeContainerElement() const { return false; } + + protected: + SVGGElement(const QualifiedName&, Document*); + + virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); + + private: virtual bool isValid() const { return SVGTests::isValid(); } virtual void parseMappedAttribute(Attribute*); @@ -45,9 +51,7 @@ namespace WebCore { virtual void synchronizeProperty(const QualifiedName&); virtual bool rendererIsNeeded(RenderStyle*) { return true; } - virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); - private: // SVGExternalResourcesRequired DECLARE_ANIMATED_PROPERTY(SVGGElement, SVGNames::externalResourcesRequiredAttr, bool, ExternalResourcesRequired, externalResourcesRequired) }; |