| Index: Source/core/rendering/RenderText.cpp
|
| diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp
|
| index cf913991fecd926f3f69367cd95523a01087b2d2..c7a56544478232c7b354d17eb1da2f9d7980c3db 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;
|
| }
|
| @@ -1496,7 +1495,7 @@ void RenderText::dirtyLineBoxes(bool fullLayout)
|
|
|
| InlineTextBox* RenderText::createTextBox()
|
| {
|
| - return new (renderArena()) InlineTextBox(this);
|
| + return new InlineTextBox(this);
|
| }
|
|
|
| InlineTextBox* RenderText::createInlineTextBox()
|
| @@ -1529,7 +1528,7 @@ void RenderText::positionLineBox(InlineBox* box)
|
| m_lastTextBox = s->prevTextBox();
|
| else
|
| s->nextTextBox()->setPreviousTextBox(s->prevTextBox());
|
| - s->destroy(renderArena());
|
| + s->destroy();
|
| return;
|
| }
|
|
|
|
|