| Index: Source/core/rendering/svg/RenderSVGInlineText.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGInlineText.cpp b/Source/core/rendering/svg/RenderSVGInlineText.cpp
|
| index 521d6a5ccddf682c814cc13cf29d4c50026ffa52..cc612ca9c534c32d211905c4749c96b1c01700a9 100644
|
| --- a/Source/core/rendering/svg/RenderSVGInlineText.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGInlineText.cpp
|
| @@ -110,7 +110,7 @@ LayoutRect RenderSVGInlineText::localCaretRect(InlineBox* box, int caretOffset,
|
| if (!box || !box->isInlineTextBox())
|
| return LayoutRect();
|
|
|
| - InlineTextBox* textBox = static_cast<InlineTextBox*>(box);
|
| + InlineTextBox* textBox = toInlineTextBox(box);
|
| if (static_cast<unsigned>(caretOffset) < textBox->start() || static_cast<unsigned>(caretOffset) > textBox->start() + textBox->len())
|
| return LayoutRect();
|
|
|
|
|