Index: Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp |
=================================================================== |
--- Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp (revision 86165) |
+++ Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp (working copy) |
@@ -254,8 +254,8 @@ |
RefPtr<RenderStyle> oldRenderStyle = renderer->style(); |
RefPtr<RenderStyle> newRenderStyle = RenderStyle::clone(oldRenderStyle.get()); |
SVGRenderStyle* svgStyle = newRenderStyle.get()->accessSVGStyle(); |
- svgStyle->setFillPaint(SVGRenderStyle::initialFillPaintType(), SVGRenderStyle::initialFillPaintColor(), SVGRenderStyle::initialFillPaintUri()); |
- svgStyle->setStrokePaint(SVGRenderStyle::initialStrokePaintType(), SVGRenderStyle::initialStrokePaintColor(), SVGRenderStyle::initialStrokePaintUri()); |
+ svgStyle->setFillPaint(SVGPaint::defaultFill()); |
+ svgStyle->setStrokePaint(SVGPaint::defaultStroke()); |
svgStyle->setFillRule(newClipRule); |
newRenderStyle.get()->setOpacity(1.0f); |
svgStyle->setFillOpacity(1.0f); |