diff options
Diffstat (limited to 'Source/WebCore/rendering/style/SVGRenderStyleDefs.h')
-rw-r--r-- | Source/WebCore/rendering/style/SVGRenderStyleDefs.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Source/WebCore/rendering/style/SVGRenderStyleDefs.h b/Source/WebCore/rendering/style/SVGRenderStyleDefs.h index 00358a0..de058a2 100644 --- a/Source/WebCore/rendering/style/SVGRenderStyleDefs.h +++ b/Source/WebCore/rendering/style/SVGRenderStyleDefs.h @@ -29,8 +29,9 @@ #define SVGRenderStyleDefs_h #if ENABLE(SVG) +#include "Color.h" +#include "PlatformString.h" #include "SVGLength.h" -#include "SVGPaint.h" #include "ShadowData.h" #include <wtf/OwnPtr.h> #include <wtf/PassOwnPtr.h> @@ -97,7 +98,7 @@ namespace WebCore { public: static PassRefPtr<StyleFillData> create() { return adoptRef(new StyleFillData); } PassRefPtr<StyleFillData> copy() const { return adoptRef(new StyleFillData(*this)); } - + bool operator==(const StyleFillData&) const; bool operator!=(const StyleFillData& other) const { @@ -105,9 +106,7 @@ namespace WebCore { } float opacity; - SVGPaint::SVGPaintType paintType; - Color paintColor; - String paintUri; + RefPtr<SVGPaint> paint; private: StyleFillData(); @@ -132,9 +131,7 @@ namespace WebCore { SVGLength dashOffset; Vector<SVGLength> dashArray; - SVGPaint::SVGPaintType paintType; - Color paintColor; - String paintUri; + RefPtr<SVGPaint> paint; private: StyleStrokeData(); @@ -265,4 +262,5 @@ namespace WebCore { } // namespace WebCore #endif // ENABLE(SVG) + #endif // SVGRenderStyleDefs_h |