| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
|
| index 429201380a5260dfde59a07b0da240f416304e4e..b219126ea4ef1f94f462b21560c6641f1eea4572 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
|
| @@ -59,12 +59,14 @@ void LayoutSVGContainer::layout()
|
| // LayoutSVGViewportContainer needs to set the 'layout size changed' flag.
|
| determineIfLayoutSizeChanged();
|
|
|
| + bool transformChanged = SVGLayoutSupport::transformToRootChanged(this);
|
| +
|
| // If any of this container's children need to be laid out, and a filter is
|
| // applied to the container, we need to issue paint invalidations for all
|
| // the descendants.
|
| bool forceLayoutOfChildren = selfNeedsLayout()
|
| || (normalChildNeedsLayout() && SVGLayoutSupport::hasFilterResource(*this));
|
| - SVGLayoutSupport::layoutChildren(this, forceLayoutOfChildren);
|
| + SVGLayoutSupport::layoutChildren(this, forceLayoutOfChildren, transformChanged);
|
|
|
| // Invalidate all resources of this client if our layout changed.
|
| if (everHadLayout() && needsLayout())
|
|
|