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

Unified Diff: Source/core/dom/Text.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/Text.cpp
diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp
index f5d58a3e4b49fcff564169ab0c902e1646887608..4b82cd3c589346c462ed781cf108f0c89c710faf 100644
--- a/Source/core/dom/Text.cpp
+++ b/Source/core/dom/Text.cpp
@@ -259,15 +259,15 @@ void Text::createTextRendererIfNeeded()
NodeRenderingContext(this).createRendererForTextIfNeeded();
}
-RenderText* Text::createTextRenderer(RenderArena* arena, RenderStyle* style)
+RenderText* Text::createTextRenderer(RenderStyle* style)
{
if (isSVGText(this) || isSVGShadowText(this))
- return new (arena) RenderSVGInlineText(this, dataImpl());
+ return new RenderSVGInlineText(this, dataImpl());
if (style->hasTextCombine())
- return new (arena) RenderCombineText(this, dataImpl());
+ return new RenderCombineText(this, dataImpl());
- return new (arena) RenderText(this, dataImpl());
+ return new RenderText(this, dataImpl());
}
void Text::attach(const AttachContext& context)

Powered by Google App Engine
This is Rietveld 408576698