| Index: Source/core/rendering/svg/RenderSVGResource.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGResource.cpp b/Source/core/rendering/svg/RenderSVGResource.cpp
|
| index ad3cad169814f7b81f6e08b8267d8829d0392df2..cc9c6067a21cf5a79306573ba73d998ec52587d5 100644
|
| --- a/Source/core/rendering/svg/RenderSVGResource.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGResource.cpp
|
| @@ -41,7 +41,7 @@ static inline bool inheritColorFromParentStyle(RenderObject* object, bool applyT
|
| return false;
|
| const SVGRenderStyle& parentSVGStyle = object->parent()->style()->svgStyle();
|
| SVGPaintType paintType = applyToFill ? parentSVGStyle.fillPaintType() : parentSVGStyle.strokePaintType();
|
| - if (paintType != SVG_PAINTTYPE_RGBCOLOR && paintType != SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR)
|
| + if (paintType != SVG_PAINTTYPE_RGBCOLOR)
|
| return false;
|
| color = applyToFill ? parentSVGStyle.fillPaintColor() : parentSVGStyle.strokePaintColor();
|
| return true;
|
| @@ -86,10 +86,8 @@ RenderSVGResource* RenderSVGResource::requestPaintingResource(RenderSVGResourceM
|
| switch (paintType) {
|
| case SVG_PAINTTYPE_CURRENTCOLOR:
|
| case SVG_PAINTTYPE_RGBCOLOR:
|
| - case SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR:
|
| case SVG_PAINTTYPE_URI_CURRENTCOLOR:
|
| case SVG_PAINTTYPE_URI_RGBCOLOR:
|
| - case SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR:
|
| color = applyToFill ? svgStyle.fillPaintColor() : svgStyle.strokePaintColor();
|
| hasColor = true;
|
| default:
|
|
|