Index: Source/core/html/HTMLImageElement.cpp |
diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp |
index 709a0ee270ac32aa79e5cc6deb6e36468c97214b..1d0b98ed2bbc091fbdf046520587f3314e99b095 100644 |
--- a/Source/core/html/HTMLImageElement.cpp |
+++ b/Source/core/html/HTMLImageElement.cpp |
@@ -143,7 +143,7 @@ RenderObject* HTMLImageElement::createRenderer(RenderStyle* style) |
if (style->hasContent()) |
return RenderObject::createObject(this, style); |
- RenderImage* image = new (document()->renderArena()) RenderImage(this); |
+ RenderImage* image = new RenderImage(this); |
image->setImageResource(RenderImageResource::create()); |
return image; |
} |