Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Unified Diff: Source/core/dom/NodeRenderingContext.cpp

Issue 16896019: Replace RenderArena with PartitionAlloc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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())) {

Powered by Google App Engine
This is Rietveld 408576698