Index: Source/core/html/ImageInputType.cpp |
diff --git a/Source/core/html/ImageInputType.cpp b/Source/core/html/ImageInputType.cpp |
index abfccc14c849f2049557710f67b9885cd8fe856c..64ba9378ab768697c54a9a8fc467ea470d014fcd 100644 |
--- a/Source/core/html/ImageInputType.cpp |
+++ b/Source/core/html/ImageInputType.cpp |
@@ -103,7 +103,7 @@ void ImageInputType::handleDOMActivateEvent(Event* event) |
RenderObject* ImageInputType::createRenderer(RenderStyle*) const |
{ |
- RenderImage* image = new (element()->document()->renderArena()) RenderImage(element()); |
+ RenderImage* image = new RenderImage(element()); |
image->setImageResource(RenderImageResource::create()); |
return image; |
} |