| Index: Source/core/rendering/svg/RenderSVGRoot.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGRoot.cpp b/Source/core/rendering/svg/RenderSVGRoot.cpp
|
| index 0e181b49e1f54b88ade56fab23a9e6f900aa81b7..f63f5f9a8c9583b583577bff16721aabd575d66e 100644
|
| --- a/Source/core/rendering/svg/RenderSVGRoot.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGRoot.cpp
|
| @@ -195,12 +195,11 @@ void RenderSVGRoot::layout()
|
| {
|
| ASSERT(needsLayout());
|
|
|
| - LayoutRectRecorder recorder(*this);
|
| -
|
| // Arbitrary affine transforms are incompatible with LayoutState.
|
| LayoutStateDisabler layoutStateDisabler(*this);
|
|
|
| bool needsLayout = selfNeedsLayout();
|
| + LayoutRectRecorder recorder(*this, checkForRepaint() && needsLayout);
|
| LayoutRepainter repainter(*this, checkForRepaintDuringLayout() && needsLayout);
|
|
|
| LayoutSize oldSize = size();
|
|
|