Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp |
| index 329a8b53c8c7fde7573524709beec57c46605d8e..3961d888d0349e6063e00be58bc349481b706f29 100644 |
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp |
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp |
| @@ -33,7 +33,9 @@ void LayoutSVGHiddenContainer::layout() |
| { |
| ASSERT(needsLayout()); |
| LayoutAnalyzer::Scope analyzer(*this); |
| - SVGLayoutSupport::layoutChildren(this, selfNeedsLayout()); |
| + // TODO(fs): In what cases do we need this? |
| + bool transformChanged = SVGLayoutSupport::transformToRootChanged(this); |
| + SVGLayoutSupport::layoutChildren(this, selfNeedsLayout(), transformChanged); |
|
pdr.
2016/04/19 18:53:44
Can you remove this and see what tests fail, and f
fs
2016/04/19 19:39:56
Yepp, I intend to.
|
| updateCachedBoundaries(); |
| clearNeedsLayout(); |
| } |