Chromium Code Reviews

Unified Diff: Source/core/rendering/RenderButton.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.
Jump to:
View side-by-side diff with in-line comments
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);
}

Powered by Google App Engine