Index: Source/core/rendering/RenderButton.cpp |
diff --git a/Source/core/rendering/RenderButton.cpp b/Source/core/rendering/RenderButton.cpp |
index 5398661a4b76e7e814b7f81b3000c8721a52f9d6..b885be9f8c4c73f5c334905b840a99375adac06f 100644 |
--- a/Source/core/rendering/RenderButton.cpp |
+++ b/Source/core/rendering/RenderButton.cpp |
@@ -126,7 +126,7 @@ void RenderButton::setText(const String& str) |
if (m_buttonText) |
m_buttonText->setText(str.impl()); |
else { |
- m_buttonText = new (renderArena()) RenderTextFragment(document(), str.impl()); |
+ m_buttonText = new RenderTextFragment(document(), str.impl()); |
m_buttonText->setStyle(style()); |
addChild(m_buttonText); |
} |