Index: Source/core/rendering/style/ContentData.cpp |
diff --git a/Source/core/rendering/style/ContentData.cpp b/Source/core/rendering/style/ContentData.cpp |
index a11d0aa3c654c3c79229878b8e2fee27e858a7cb..678157968e987237fbeae074141cd9cd2188789c 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; |
} |