Index: Source/core/rendering/RenderText.cpp |
diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp |
index ffab800073e616f6cedf346a6bab95c8f04066dc..28033a2a08ccdbc3d7878af570620a5ee8ab5ab3 100644 |
--- a/Source/core/rendering/RenderText.cpp |
+++ b/Source/core/rendering/RenderText.cpp |
@@ -1436,14 +1436,14 @@ void RenderText::dirtyLineBoxes(bool fullLayout) |
m_linesDirty = false; |
} |
-InlineTextBox* RenderText::createTextBox() |
+InlineTextBox* RenderText::createTextBox(int start, unsigned short length) |
{ |
- return new InlineTextBox(*this); |
+ return new InlineTextBox(*this, start, length); |
} |
-InlineTextBox* RenderText::createInlineTextBox() |
+InlineTextBox* RenderText::createInlineTextBox(int start, unsigned short length) |
{ |
- InlineTextBox* textBox = createTextBox(); |
+ InlineTextBox* textBox = createTextBox(start, length); |
if (!m_firstTextBox) |
m_firstTextBox = m_lastTextBox = textBox; |
else { |
@@ -1451,7 +1451,6 @@ InlineTextBox* RenderText::createInlineTextBox() |
textBox->setPreviousTextBox(m_lastTextBox); |
m_lastTextBox = textBox; |
} |
- textBox->setIsText(true); |
return textBox; |
} |