Index: Source/core/html/HTMLImageElement.cpp |
diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp |
index 7c8ccad9759ef575d6e24b7d9534cd6a83f4426b..0a7076b86659dc5155bfc71aa05e1b2746b31ca0 100644 |
--- a/Source/core/html/HTMLImageElement.cpp |
+++ b/Source/core/html/HTMLImageElement.cpp |
@@ -138,12 +138,12 @@ String HTMLImageElement::altText() const |
return alt; |
} |
-RenderObject* HTMLImageElement::createRenderer(RenderArena* arena, RenderStyle* style) |
+RenderObject* HTMLImageElement::createRenderer(RenderStyle* style) |
{ |
if (style->hasContent()) |
return RenderObject::createObject(this, style); |
- RenderImage* image = new (arena) RenderImage(this); |
+ RenderImage* image = new RenderImage(this); |
image->setImageResource(RenderImageResource::create()); |
return image; |
} |