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

Unified Diff: Source/core/html/BaseButtonInputType.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/BaseButtonInputType.cpp
diff --git a/Source/core/html/BaseButtonInputType.cpp b/Source/core/html/BaseButtonInputType.cpp
index 046f8b8e7d389b7af7b51fe358acd02d6145ed14..7eadcc0509336cc343e8aa1a2935b54eca1ea1b6 100644
--- a/Source/core/html/BaseButtonInputType.cpp
+++ b/Source/core/html/BaseButtonInputType.cpp
@@ -51,9 +51,9 @@ bool BaseButtonInputType::appendFormData(FormDataList&, bool) const
return false;
}
-RenderObject* BaseButtonInputType::createRenderer(RenderArena* arena, RenderStyle*) const
+RenderObject* BaseButtonInputType::createRenderer(RenderStyle*) const
{
- return new (arena) RenderButton(element());
+ return new RenderButton(element());
}
bool BaseButtonInputType::storesValueSeparateFromAttribute()

Powered by Google App Engine
This is Rietveld 408576698