Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp |
index 985e24341a7708b8222685c15c214f14c0c63eaa..6ed9f212c557429f1c822ad5fc5b67356670c656 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp |
@@ -161,7 +161,7 @@ void LayoutSVGRoot::layout() |
|| (normalChildNeedsLayout() && SVGLayoutSupport::hasFilterResource(*this)); |
const bool transformToRootChanged = false; |
- SVGLayoutSupport::layoutChildren(this, forceLayoutOfChildren, transformToRootChanged, layoutSizeChanged); |
+ SVGLayoutSupport::layoutChildren(firstChild(), forceLayoutOfChildren, transformToRootChanged, layoutSizeChanged); |
if (m_needsBoundariesOrTransformUpdate) { |
updateCachedBoundaries(); |