Index: Source/core/rendering/svg/RenderSVGRoot.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGRoot.cpp b/Source/core/rendering/svg/RenderSVGRoot.cpp |
index a4355cd4d9a64fa26624811b990ef5e4b1af31da..fc6bb767ebb4e509841ace9c67c613bb36e74720 100644 |
--- a/Source/core/rendering/svg/RenderSVGRoot.cpp |
+++ b/Source/core/rendering/svg/RenderSVGRoot.cpp |
@@ -173,10 +173,9 @@ LayoutUnit RenderSVGRoot::computeReplacedLogicalHeight() const |
if (height.isPercent()) { |
RenderBlock* cb = containingBlock(); |
ASSERT(cb); |
- while (cb->isAnonymous()) { |
+ while (cb->isAnonymous()) |
cb = cb->containingBlock(); |
- cb->addPercentHeightDescendant(const_cast<RenderSVGRoot*>(this)); |
- } |
+ cb->addPercentHeightDescendant(const_cast<RenderSVGRoot*>(this)); |
} else |
RenderBlock::removePercentHeightDescendant(const_cast<RenderSVGRoot*>(this)); |