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

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

Issue 16896019: Replace RenderArena with PartitionAlloc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
Index: Source/core/html/shadow/TextFieldDecorationElement.cpp
diff --git a/Source/core/html/shadow/TextFieldDecorationElement.cpp b/Source/core/html/shadow/TextFieldDecorationElement.cpp
index f281d438896f3f98857c8b7a1811cd03e9253d5d..0a2294bba6d0e615909318ac3b5b0541a6f61b4a 100644
--- a/Source/core/html/shadow/TextFieldDecorationElement.cpp
+++ b/Source/core/html/shadow/TextFieldDecorationElement.cpp
@@ -162,9 +162,9 @@ PassRefPtr<RenderStyle> TextFieldDecorationElement::customStyleForRenderer()
return style.release();
}
-RenderObject* TextFieldDecorationElement::createRenderer(RenderArena* arena, RenderStyle*)
+RenderObject* TextFieldDecorationElement::createRenderer(RenderStyle*)
{
- RenderImage* image = new (arena) RenderImage(this);
+ RenderImage* image = new RenderImage(this);
image->setImageResource(RenderImageResource::create());
return image;
}

Powered by Google App Engine
This is Rietveld 408576698