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) |