Index: Source/core/html/HTMLSelectElement.cpp |
diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp |
index 145820c6fcce772ba35a86973719d7f5aecff735..abaa60af842c66d635300399dc283f80f28c5353 100644 |
--- a/Source/core/html/HTMLSelectElement.cpp |
+++ b/Source/core/html/HTMLSelectElement.cpp |
@@ -334,11 +334,11 @@ bool HTMLSelectElement::canSelectAll() const |
return !usesMenuList(); |
} |
-RenderObject* HTMLSelectElement::createRenderer(RenderArena* arena, RenderStyle*) |
+RenderObject* HTMLSelectElement::createRenderer(RenderStyle*) |
{ |
if (usesMenuList()) |
- return new (arena) RenderMenuList(this); |
- return new (arena) RenderListBox(this); |
+ return new RenderMenuList(this); |
+ return new RenderListBox(this); |
} |
bool HTMLSelectElement::childShouldCreateRenderer(const NodeRenderingContext& childContext) const |