Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index 1659f975a9909152952f1430a34d7429b64a4ba8..5f1e547599e7317cbaf937aaf033ac82c1a31e70 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -1773,14 +1773,14 @@ LayoutSize RenderBox::offsetFromContainer(RenderObject* o, const LayoutPoint& po |
InlineBox* RenderBox::createInlineBox() |
{ |
- return new (renderArena()) InlineBox(this); |
+ return new InlineBox(this); |
} |
void RenderBox::dirtyLineBoxes(bool fullLayout) |
{ |
if (m_inlineBoxWrapper) { |
if (fullLayout) { |
- m_inlineBoxWrapper->destroy(renderArena()); |
+ m_inlineBoxWrapper->destroy(); |
m_inlineBoxWrapper = 0; |
} else |
m_inlineBoxWrapper->dirtyLineBoxes(); |
@@ -1812,7 +1812,7 @@ void RenderBox::positionLineBox(InlineBox* box) |
// Nuke the box. |
box->remove(); |
- box->destroy(renderArena()); |
+ box->destroy(); |
} else if (isReplaced()) { |
setLocation(roundedLayoutPoint(box->topLeft())); |
setInlineBoxWrapper(box); |
@@ -1824,7 +1824,7 @@ void RenderBox::deleteLineBoxWrapper() |
if (m_inlineBoxWrapper) { |
if (!documentBeingDestroyed()) |
m_inlineBoxWrapper->remove(); |
- m_inlineBoxWrapper->destroy(renderArena()); |
+ m_inlineBoxWrapper->destroy(); |
m_inlineBoxWrapper = 0; |
} |
} |