summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/svg/SVGInlineTextBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/svg/SVGInlineTextBox.cpp')
-rw-r--r--WebCore/rendering/svg/SVGInlineTextBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/rendering/svg/SVGInlineTextBox.cpp b/WebCore/rendering/svg/SVGInlineTextBox.cpp
index 699d788..d1f660a 100644
--- a/WebCore/rendering/svg/SVGInlineTextBox.cpp
+++ b/WebCore/rendering/svg/SVGInlineTextBox.cpp
@@ -588,7 +588,7 @@ IntRect SVGInlineTextBox::calculateBoundaries() const
RenderStyle* style = textRenderer->style();
ASSERT(style);
- int baseline = baselinePosition();
+ int baseline = baselinePosition(AlphabeticBaseline);
int heightDifference = baseline - style->font().ascent();
unsigned textFragmentsSize = m_textFragments.size();