Index: Source/core/html/HTMLButtonElement.cpp |
diff --git a/Source/core/html/HTMLButtonElement.cpp b/Source/core/html/HTMLButtonElement.cpp |
index 4ab7d193e434ac67d4c922f20e547f83b5efa830..0f55e0e343b35ef4840ec0f549a96b16b744729f 100644 |
--- a/Source/core/html/HTMLButtonElement.cpp |
+++ b/Source/core/html/HTMLButtonElement.cpp |
@@ -60,7 +60,7 @@ void HTMLButtonElement::setType(const AtomicString& type) |
RenderObject* HTMLButtonElement::createRenderer(RenderStyle*) |
{ |
- return new (document()->renderArena()) RenderButton(this); |
+ return new RenderButton(this); |
} |
const AtomicString& HTMLButtonElement::formControlType() const |