| Index: Source/core/layout/svg/LayoutSVGInlineText.cpp
|
| diff --git a/Source/core/layout/svg/LayoutSVGInlineText.cpp b/Source/core/layout/svg/LayoutSVGInlineText.cpp
|
| index 274d6186523d27699768550887233079ead21d27..8186601733e6eaa8e9c9278faf3f4914b9477be0 100644
|
| --- a/Source/core/layout/svg/LayoutSVGInlineText.cpp
|
| +++ b/Source/core/layout/svg/LayoutSVGInlineText.cpp
|
| @@ -60,7 +60,7 @@ static PassRefPtr<StringImpl> applySVGWhitespaceRules(PassRefPtr<StringImpl> str
|
| }
|
|
|
| LayoutSVGInlineText::LayoutSVGInlineText(Node* n, PassRefPtr<StringImpl> string)
|
| - : RenderText(n, applySVGWhitespaceRules(string, false))
|
| + : LayoutText(n, applySVGWhitespaceRules(string, false))
|
| , m_scalingFactor(1)
|
| , m_layoutAttributes(this)
|
| {
|
| @@ -68,14 +68,14 @@ LayoutSVGInlineText::LayoutSVGInlineText(Node* n, PassRefPtr<StringImpl> string)
|
|
|
| void LayoutSVGInlineText::setTextInternal(PassRefPtr<StringImpl> text)
|
| {
|
| - RenderText::setTextInternal(text);
|
| + LayoutText::setTextInternal(text);
|
| if (LayoutSVGText* textRenderer = LayoutSVGText::locateLayoutSVGTextAncestor(this))
|
| textRenderer->subtreeTextDidChange(this);
|
| }
|
|
|
| void LayoutSVGInlineText::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle)
|
| {
|
| - RenderText::styleDidChange(diff, oldStyle);
|
| + LayoutText::styleDidChange(diff, oldStyle);
|
| updateScaledFont();
|
|
|
| bool newPreserves = style() ? style()->whiteSpace() == PRE : false;
|
| @@ -244,7 +244,7 @@ LayoutRect LayoutSVGInlineText::clippedOverflowRectForPaintInvalidation(const La
|
|
|
| PassRefPtr<StringImpl> LayoutSVGInlineText::originalText() const
|
| {
|
| - RefPtr<StringImpl> result = RenderText::originalText();
|
| + RefPtr<StringImpl> result = LayoutText::originalText();
|
| if (!result)
|
| return nullptr;
|
| return applySVGWhitespaceRules(result, style() && style()->whiteSpace() == PRE);
|
|
|