| Index: Source/core/rendering/RenderText.cpp
|
| diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp
|
| index 13d84d9aa8aa899b96369c50f4357126d6e4361e..a421527d9a585ff4533d7f63461591f4f843f47e 100644
|
| --- a/Source/core/rendering/RenderText.cpp
|
| +++ b/Source/core/rendering/RenderText.cpp
|
| @@ -298,11 +298,10 @@ void RenderText::removeTextBox(InlineTextBox* box)
|
| void RenderText::deleteTextBoxes()
|
| {
|
| if (firstTextBox()) {
|
| - RenderArena* arena = renderArena();
|
| InlineTextBox* next;
|
| for (InlineTextBox* curr = firstTextBox(); curr; curr = next) {
|
| next = curr->nextTextBox();
|
| - curr->destroy(arena);
|
| + curr->destroy();
|
| }
|
| m_firstTextBox = m_lastTextBox = 0;
|
| }
|
| @@ -1486,7 +1485,7 @@ void RenderText::dirtyLineBoxes(bool fullLayout)
|
|
|
| InlineTextBox* RenderText::createTextBox()
|
| {
|
| - return new (renderArena()) InlineTextBox(this);
|
| + return new InlineTextBox(this);
|
| }
|
|
|
| InlineTextBox* RenderText::createInlineTextBox()
|
| @@ -1519,7 +1518,7 @@ void RenderText::positionLineBox(InlineBox* box)
|
| m_lastTextBox = s->prevTextBox();
|
| else
|
| s->nextTextBox()->setPreviousTextBox(s->prevTextBox());
|
| - s->destroy(renderArena());
|
| + s->destroy();
|
| return;
|
| }
|
|
|
|
|