| Index: Source/core/rendering/svg/RenderSVGContainer.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGContainer.cpp b/Source/core/rendering/svg/RenderSVGContainer.cpp
|
| index 05711a827b28e48d8e8b6fb72dae0c44d1257efd..ffe5446e1f22f11f3d3a4f63010acde230a9829a 100644
|
| --- a/Source/core/rendering/svg/RenderSVGContainer.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGContainer.cpp
|
| @@ -77,7 +77,7 @@ void RenderSVGContainer::layout()
|
| void RenderSVGContainer::addChild(LayoutObject* child, LayoutObject* beforeChild)
|
| {
|
| RenderSVGModelObject::addChild(child, beforeChild);
|
| - SVGResourcesCache::clientWasAddedToTree(child, child->style());
|
| + SVGResourcesCache::clientWasAddedToTree(child, child->styleRef());
|
|
|
| bool shouldIsolateDescendants = (child->isBlendingAllowed() && child->style()->hasBlendMode()) || child->hasNonIsolatedBlendingDescendants();
|
| if (shouldIsolateDescendants)
|
| @@ -104,7 +104,7 @@ void RenderSVGContainer::styleDidChange(StyleDifference diff, const LayoutStyle*
|
| {
|
| RenderSVGModelObject::styleDidChange(diff, oldStyle);
|
|
|
| - bool hadIsolation = oldStyle && !isSVGHiddenContainer() && SVGLayoutSupport::willIsolateBlendingDescendantsForStyle(oldStyle);
|
| + bool hadIsolation = oldStyle && !isSVGHiddenContainer() && SVGLayoutSupport::willIsolateBlendingDescendantsForStyle(*oldStyle);
|
| bool isolationChanged = hadIsolation == !SVGLayoutSupport::willIsolateBlendingDescendantsForObject(this);
|
|
|
| if (!parent() || !isolationChanged)
|
|
|