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

Unified Diff: Source/core/rendering/style/ContentData.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/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;
}

Powered by Google App Engine
This is Rietveld 408576698