Index: Source/core/html/shadow/PasswordGeneratorButtonElement.cpp |
diff --git a/Source/core/html/shadow/PasswordGeneratorButtonElement.cpp b/Source/core/html/shadow/PasswordGeneratorButtonElement.cpp |
index 5b5fae82acbe423c9f3e4b03257a1e8f95d37ff5..821c4d355305ebd73a09676aed00892fd5dc18fc 100644 |
--- a/Source/core/html/shadow/PasswordGeneratorButtonElement.cpp |
+++ b/Source/core/html/shadow/PasswordGeneratorButtonElement.cpp |
@@ -131,7 +131,7 @@ PassRefPtr<RenderStyle> PasswordGeneratorButtonElement::customStyleForRenderer() |
RenderObject* PasswordGeneratorButtonElement::createRenderer(RenderStyle*) |
{ |
- RenderImage* image = new (document()->renderArena()) RenderImage(this); |
+ RenderImage* image = new RenderImage(this); |
image->setImageResource(RenderImageResource::create()); |
return image; |
} |