diff options
Diffstat (limited to 'WebCore/svg/SVGStopElement.h')
-rw-r--r-- | WebCore/svg/SVGStopElement.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/WebCore/svg/SVGStopElement.h b/WebCore/svg/SVGStopElement.h index 1fb60b5..232b97a 100644 --- a/WebCore/svg/SVGStopElement.h +++ b/WebCore/svg/SVGStopElement.h @@ -29,16 +29,17 @@ namespace WebCore { class SVGStopElement : public SVGStyledElement { public: + static PassRefPtr<SVGStopElement> create(const QualifiedName&, Document*); + + Color stopColorIncludingOpacity() const; + + private: SVGStopElement(const QualifiedName&, Document*); - virtual ~SVGStopElement(); virtual void parseMappedAttribute(Attribute*); virtual void svgAttributeChanged(const QualifiedName&); virtual void synchronizeProperty(const QualifiedName&); - Color stopColorIncludingOpacity() const; - - private: virtual bool isGradientStop() const { return true; } virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |