| Index: Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp b/Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp
|
| index 884da10baaeeae447dc6da28b95e161b2aa5b034..5693fb1081f98e1973376976e3fd0c2a058e0ff0 100644
|
| --- a/Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp
|
| @@ -49,7 +49,6 @@ bool RenderSVGResourceSolidColor::applyResource(RenderObject* object, RenderStyl
|
| ASSERT(resourceMode != ApplyToDefaultMode);
|
|
|
| const SVGRenderStyle* svgStyle = style ? style->svgStyle() : 0;
|
| - ColorSpace colorSpace = style ? style->colorSpace() : ColorSpaceDeviceRGB;
|
|
|
| bool isRenderingMask = false;
|
| if (object->frame() && object->frame()->view())
|
| @@ -60,7 +59,7 @@ bool RenderSVGResourceSolidColor::applyResource(RenderObject* object, RenderStyl
|
| context->setAlpha(svgStyle->fillOpacity());
|
| else
|
| context->setAlpha(1);
|
| - context->setFillColor(m_color, colorSpace);
|
| + context->setFillColor(m_color);
|
| if (!isRenderingMask)
|
| context->setFillRule(svgStyle ? svgStyle->fillRule() : RULE_NONZERO);
|
|
|
| @@ -70,7 +69,7 @@ bool RenderSVGResourceSolidColor::applyResource(RenderObject* object, RenderStyl
|
| // When rendering the mask for a RenderSVGResourceClipper, the stroke code path is never hit.
|
| ASSERT(!isRenderingMask);
|
| context->setAlpha(svgStyle ? svgStyle->strokeOpacity() : 1);
|
| - context->setStrokeColor(m_color, colorSpace);
|
| + context->setStrokeColor(m_color);
|
|
|
| if (style)
|
| SVGRenderSupport::applyStrokeStyleToContext(context, style, object);
|
|
|