diff options
Diffstat (limited to 'WebCore/rendering/SVGRootInlineBox.cpp')
-rw-r--r-- | WebCore/rendering/SVGRootInlineBox.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/WebCore/rendering/SVGRootInlineBox.cpp b/WebCore/rendering/SVGRootInlineBox.cpp index 6afdd99..715003f 100644 --- a/WebCore/rendering/SVGRootInlineBox.cpp +++ b/WebCore/rendering/SVGRootInlineBox.cpp @@ -196,8 +196,8 @@ void SVGRootInlineBox::layoutChildBoxes(InlineFlowBox* start) IntRect boxRect = textBox->calculateBoundaries(); textBox->setX(boxRect.x()); textBox->setY(boxRect.y()); - textBox->setWidth(boxRect.width()); - textBox->setHeight(boxRect.height()); + textBox->setLogicalWidth(boxRect.width()); + textBox->setLogicalHeight(boxRect.height()); } else { ASSERT(child->isInlineFlowBox()); @@ -211,8 +211,8 @@ void SVGRootInlineBox::layoutChildBoxes(InlineFlowBox* start) IntRect boxRect = flowBox->calculateBoundaries(); flowBox->setX(boxRect.x()); flowBox->setY(boxRect.y()); - flowBox->setWidth(boxRect.width()); - flowBox->setHeight(boxRect.height()); + flowBox->setLogicalWidth(boxRect.width()); + flowBox->setLogicalHeight(boxRect.height()); } } } @@ -251,8 +251,8 @@ void SVGRootInlineBox::layoutRootBox() // Position ourselves. setX(0); setY(0); - setWidth(widthBlock); - setHeight(heightBlock); + setLogicalWidth(widthBlock); + setLogicalHeight(heightBlock); setBlockHeight(heightBlock); setLineTopBottomPositions(0, heightBlock); } |