Index: Source/core/layout/line/InlineTextBox.cpp |
diff --git a/Source/core/layout/line/InlineTextBox.cpp b/Source/core/layout/line/InlineTextBox.cpp |
index 6945cf8664fbda5e5dc343eeb64023291cf36f35..e1855b1436a20ee77a756aa66343532c7c1c4ab6 100644 |
--- a/Source/core/layout/line/InlineTextBox.cpp |
+++ b/Source/core/layout/line/InlineTextBox.cpp |
@@ -414,7 +414,7 @@ int InlineTextBox::offsetForPosition(FloatWillBeLayoutUnit lineOffset, bool incl |
if (lineOffset - logicalLeft() < 0) |
return isLeftToRightDirection() ? 0 : len(); |
- RenderText& text = renderer(); |
+ LayoutText& text = renderer(); |
const LayoutStyle& style = text.styleRef(isFirstLineStyle()); |
const Font& font = style.font(); |
return font.offsetForPosition(constructTextRun(style, font), lineOffset - logicalLeft(), includePartialGlyphs); |
@@ -428,7 +428,7 @@ FloatWillBeLayoutUnit InlineTextBox::positionForOffset(int offset) const |
if (isLineBreak()) |
return logicalLeft(); |
- RenderText& text = renderer(); |
+ LayoutText& text = renderer(); |
const LayoutStyle& styleToUse = text.styleRef(isFirstLineStyle()); |
const Font& font = styleToUse.font(); |
int from = !isLeftToRightDirection() ? offset - m_start : 0; |
@@ -532,7 +532,7 @@ const char* InlineTextBox::boxName() const |
void InlineTextBox::showBox(int printedCharacters) const |
{ |
- const RenderText& obj = renderer(); |
+ const LayoutText& obj = renderer(); |
String value = obj.text(); |
value = value.substring(start(), len()); |
value.replaceWithLiteral('\\', "\\\\"); |