diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch) | |
tree | d49911209b132da58d838efa852daf28d516df21 /WebCore/svg/graphics/SVGPaintServerGradient.h | |
parent | 87eb0cb35bad8784770ebc807e6c982432e47107 (diff) | |
download | external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2 |
Initial Contribution
Diffstat (limited to 'WebCore/svg/graphics/SVGPaintServerGradient.h')
-rw-r--r-- | WebCore/svg/graphics/SVGPaintServerGradient.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/WebCore/svg/graphics/SVGPaintServerGradient.h b/WebCore/svg/graphics/SVGPaintServerGradient.h index a4af37b..afab7ab 100644 --- a/WebCore/svg/graphics/SVGPaintServerGradient.h +++ b/WebCore/svg/graphics/SVGPaintServerGradient.h @@ -60,6 +60,7 @@ namespace WebCore { class SVGPaintServerGradient : public SVGPaintServer { public: + SVGPaintServerGradient(const SVGGradientElement*); virtual ~SVGPaintServerGradient(); const Vector<SVGGradientStop>& gradientStops() const; @@ -98,9 +99,6 @@ namespace WebCore { virtual QGradient setupGradient(GraphicsContext*&, const RenderObject*) const = 0; #endif - protected: - SVGPaintServerGradient(const SVGGradientElement* owner); - private: Vector<SVGGradientStop> m_stops; SVGGradientSpreadMethod m_spreadMethod; @@ -117,13 +115,7 @@ namespace WebCore { } QuartzGradientStop; struct SharedStopCache : public RefCounted<SharedStopCache> { - public: - static PassRefPtr<SharedStopCache> create() { return adoptRef(new SharedStopCache); } - Vector<QuartzGradientStop> m_stops; - - private: - SharedStopCache() { } }; RefPtr<SharedStopCache> m_stopsCache; |