| Index: Source/core/rendering/RenderText.cpp
|
| diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp
|
| index 871a8c9a6d32a2e5051cd3019664830d645171f0..de653cd5280e970be8c00380be02d6418e3de9e5 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;
|
| }
|
|
|
|
|