Index: Source/core/html/HTMLSelectElement.cpp |
diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp |
index 63e806c08a6ebccdabba92c8d245685314e8a596..c12cda9b06ad35e3ffa988da62ac059f4465a512 100644 |
--- a/Source/core/html/HTMLSelectElement.cpp |
+++ b/Source/core/html/HTMLSelectElement.cpp |
@@ -331,8 +331,8 @@ bool HTMLSelectElement::canSelectAll() const |
RenderObject* HTMLSelectElement::createRenderer(RenderStyle*) |
{ |
if (usesMenuList()) |
- return new (document()->renderArena()) RenderMenuList(this); |
- return new (document()->renderArena()) RenderListBox(this); |
+ return new RenderMenuList(this); |
+ return new RenderListBox(this); |
} |
bool HTMLSelectElement::childShouldCreateRenderer(const NodeRenderingContext& childContext) const |