Index: Source/core/rendering/style/ContentData.cpp |
diff --git a/Source/core/rendering/style/ContentData.cpp b/Source/core/rendering/style/ContentData.cpp |
index dd052ba21535915476d9290c5806a231c3c0ad63..828568f408aa417f16bfbcadd7804ea4bb916b80 100644 |
--- a/Source/core/rendering/style/ContentData.cpp |
+++ b/Source/core/rendering/style/ContentData.cpp |
@@ -79,21 +79,21 @@ RenderObject* ImageContentData::createRenderer(Document* doc, RenderStyle* pseud |
RenderObject* TextContentData::createRenderer(Document* doc, RenderStyle* pseudoStyle) const |
{ |
- RenderObject* renderer = new (doc->renderArena()) RenderTextFragment(doc, m_text.impl()); |
+ RenderObject* renderer = new RenderTextFragment(doc, m_text.impl()); |
renderer->setPseudoStyle(pseudoStyle); |
return renderer; |
} |
RenderObject* CounterContentData::createRenderer(Document* doc, RenderStyle* pseudoStyle) const |
{ |
- RenderObject* renderer = new (doc->renderArena()) RenderCounter(doc, *m_counter); |
+ RenderObject* renderer = new RenderCounter(doc, *m_counter); |
renderer->setPseudoStyle(pseudoStyle); |
return renderer; |
} |
RenderObject* QuoteContentData::createRenderer(Document* doc, RenderStyle* pseudoStyle) const |
{ |
- RenderObject* renderer = new (doc->renderArena()) RenderQuote(doc, m_quote); |
+ RenderObject* renderer = new RenderQuote(doc, m_quote); |
renderer->setPseudoStyle(pseudoStyle); |
return renderer; |
} |