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 d1979aa6d556e40dc767737975409630113c1d3a..2ef125d58c5cc581fbaae1c02a6fe7c4cfd4a2d5 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp |
@@ -41,7 +41,7 @@ void LayoutSVGHiddenContainer::layout() |
bool layoutSizeChanged = element()->hasRelativeLengths() |
&& SVGLayoutSupport::layoutSizeOfNearestViewportChanged(this); |
- SVGLayoutSupport::layoutChildren(this, selfNeedsLayout(), transformChanged, layoutSizeChanged); |
+ SVGLayoutSupport::layoutChildren(firstChild(), selfNeedsLayout(), transformChanged, layoutSizeChanged); |
updateCachedBoundaries(); |
clearNeedsLayout(); |
} |