Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1247)

Unified Diff: Source/core/html/shadow/PasswordGeneratorButtonElement.cpp

Issue 20231002: Replace RenderArena with PartitionAlloc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/shadow/MeterShadowElement.cpp ('k') | Source/core/html/shadow/PickerIndicatorElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « Source/core/html/shadow/MeterShadowElement.cpp ('k') | Source/core/html/shadow/PickerIndicatorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698