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

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

Issue 20231002: Replace RenderArena with PartitionAlloc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 5 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
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/html/BaseButtonInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Text.cpp
diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp
index eadc27ce186fbcb01710e0269858e70bb40f0a78..05d6e8031149e0174d0f3566544e9125cc85f101 100644
--- a/Source/core/dom/Text.cpp
+++ b/Source/core/dom/Text.cpp
@@ -259,12 +259,12 @@ void Text::createTextRendererIfNeeded()
RenderText* Text::createTextRenderer(RenderStyle* style)
{
if (isSVGText(this) || isSVGShadowText(this))
- return new (document()->renderArena()) RenderSVGInlineText(this, dataImpl());
+ return new RenderSVGInlineText(this, dataImpl());
if (style->hasTextCombine())
- return new (document()->renderArena()) RenderCombineText(this, dataImpl());
+ return new RenderCombineText(this, dataImpl());
- return new (document()->renderArena()) RenderText(this, dataImpl());
+ return new RenderText(this, dataImpl());
}
void Text::attach(const AttachContext& context)
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/html/BaseButtonInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698