| Index: Source/core/rendering/svg/RenderSVGResourceClipper.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGResourceClipper.cpp b/Source/core/rendering/svg/RenderSVGResourceClipper.cpp
|
| index f2c6834b61f6e54fa6c1274d8a67ee3908acbb7d..d9da9fb580562cb2f6a04d59431008afbf53afbd 100644
|
| --- a/Source/core/rendering/svg/RenderSVGResourceClipper.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGResourceClipper.cpp
|
| @@ -100,9 +100,9 @@ bool RenderSVGResourceClipper::pathOnlyClipping(GraphicsContext* context, const
|
| // Only shapes or paths are supported for direct clipping. We need to fallback to masking for texts.
|
| if (renderer->isSVGText())
|
| return false;
|
| - if (!childNode->isSVGElement() || !toSVGElement(childNode)->isStyledTransformable())
|
| + if (!childNode->isSVGElement() || !toSVGElement(childNode)->isSVGGraphicsElement())
|
| continue;
|
| - SVGStyledTransformableElement* styled = toSVGStyledTransformableElement(childNode);
|
| + SVGGraphicsElement* styled = toSVGGraphicsElement(childNode);
|
| RenderStyle* style = renderer->style();
|
| if (!style || style->display() == NONE || style->visibility() != VISIBLE)
|
| continue;
|
|
|