Index: Source/core/rendering/style/RenderStyle.h |
diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h |
index bdcb60b016467b4e25eacbd5e7b9c60062d134db..a6c3dfccb1c61a678bf008a1287e6a02d355c45f 100644 |
--- a/Source/core/rendering/style/RenderStyle.h |
+++ b/Source/core/rendering/style/RenderStyle.h |
@@ -57,7 +57,6 @@ |
#include "core/rendering/style/StyleTransformData.h" |
#include "core/rendering/style/StyleVisualData.h" |
#include "core/rendering/style/StyleWillChangeData.h" |
-#include "core/svg/SVGPaint.h" |
#include "platform/Length.h" |
#include "platform/LengthBox.h" |
#include "platform/LengthSize.h" |
@@ -1418,15 +1417,13 @@ public: |
const SVGRenderStyle* svgStyle() const { return m_svgStyle.get(); } |
SVGRenderStyle* accessSVGStyle() { return m_svgStyle.access(); } |
- const SVGPaint::SVGPaintType& fillPaintType() const { return svgStyle()->fillPaintType(); } |
+ const SVGPaintType& fillPaintType() const { return svgStyle()->fillPaintType(); } |
Color fillPaintColor() const { return svgStyle()->fillPaintColor(); } |
- void setFillPaintColor(const Color& c) { accessSVGStyle()->setFillPaint(SVGPaint::SVG_PAINTTYPE_RGBCOLOR, c, ""); } |
float fillOpacity() const { return svgStyle()->fillOpacity(); } |
void setFillOpacity(float f) { accessSVGStyle()->setFillOpacity(f); } |
- const SVGPaint::SVGPaintType& strokePaintType() const { return svgStyle()->strokePaintType(); } |
+ const SVGPaintType& strokePaintType() const { return svgStyle()->strokePaintType(); } |
Color strokePaintColor() const { return svgStyle()->strokePaintColor(); } |
- void setStrokePaintColor(const Color& c) { accessSVGStyle()->setStrokePaint(SVGPaint::SVG_PAINTTYPE_RGBCOLOR, c, ""); } |
float strokeOpacity() const { return svgStyle()->strokeOpacity(); } |
void setStrokeOpacity(float f) { accessSVGStyle()->setStrokeOpacity(f); } |
SVGLength* strokeWidth() const { return svgStyle()->strokeWidth(); } |