| Index: Source/core/rendering/RenderView.cpp | 
| diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp | 
| index 474aff60ac86d42698d581938b1dadec7dea9da3..550ca4ed052947493a36921dcf7d8f298ed286b6 100644 | 
| --- a/Source/core/rendering/RenderView.cpp | 
| +++ b/Source/core/rendering/RenderView.cpp | 
| @@ -42,6 +42,7 @@ | 
| #include "core/rendering/RenderLayerCompositor.h" | 
| #include "core/rendering/RenderSelectionInfo.h" | 
| #include "core/rendering/RenderWidget.h" | 
| +#include "core/svg/SVGElement.h" | 
|  | 
| namespace WebCore { | 
|  | 
| @@ -273,6 +274,12 @@ void RenderView::layout() | 
| || child->style()->logicalMaxHeight().isViewportPercentage() | 
| || child->isSVGRoot()) | 
| layoutScope.setChildNeedsLayout(child); | 
| + | 
| +            if (child->isSVGRoot()) { | 
| +                ASSERT(child->node()); | 
| +                ASSERT(child->node()->isSVGElement()); | 
| +                toSVGElement(child->node())->invalidateRelativeLengthClients(&layoutScope); | 
| +            } | 
| } | 
| } | 
|  | 
|  |