Index: Source/core/html/FileInputType.cpp |
diff --git a/Source/core/html/FileInputType.cpp b/Source/core/html/FileInputType.cpp |
index c8820ebc1020f878351be06c2b3c572603e6d869..b63e46d21a52833f749aad917d2ecb0f31b720a3 100644 |
--- a/Source/core/html/FileInputType.cpp |
+++ b/Source/core/html/FileInputType.cpp |
@@ -159,7 +159,7 @@ void FileInputType::handleDOMActivateEvent(Event* event) |
RenderObject* FileInputType::createRenderer(RenderStyle*) const |
{ |
- return new (element()->document()->renderArena()) RenderFileUploadControl(element()); |
+ return new RenderFileUploadControl(element()); |
} |
bool FileInputType::canSetStringValue() const |