Index: Source/core/dom/NodeRenderingContext.cpp |
diff --git a/Source/core/dom/NodeRenderingContext.cpp b/Source/core/dom/NodeRenderingContext.cpp |
index 856fc6ff53dc69da61f14f40f79b5a586de4b45f..449bd9bfc79c0891003c5d91c362da417c97ad15 100644 |
--- a/Source/core/dom/NodeRenderingContext.cpp |
+++ b/Source/core/dom/NodeRenderingContext.cpp |
@@ -258,7 +258,7 @@ void NodeRenderingContext::createRendererForElementIfNeeded() |
RenderObject* nextRenderer = this->nextRenderer(); |
Document* document = element->document(); |
- RenderObject* newRenderer = element->createRenderer(document->renderArena(), m_style.get()); |
+ RenderObject* newRenderer = element->createRenderer(m_style.get()); |
if (!newRenderer) |
return; |
@@ -304,7 +304,7 @@ void NodeRenderingContext::createRendererForTextIfNeeded() |
if (!textNode->textRendererIsNeeded(*this)) |
return; |
- RenderText* newRenderer = textNode->createTextRenderer(document->renderArena(), m_style.get()); |
+ RenderText* newRenderer = textNode->createTextRenderer(m_style.get()); |
if (!newRenderer) |
return; |
if (!parentRenderer->isChildAllowed(newRenderer, m_style.get())) { |