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

Unified Diff: Source/core/html/ImageInputType.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/ImageInputType.cpp
diff --git a/Source/core/html/ImageInputType.cpp b/Source/core/html/ImageInputType.cpp
index 8dfaf31cee0464e3776f11e578e4719e8cf0a963..1cf332076bd4d6d4209634c6fd2bca4aa42920e5 100644
--- a/Source/core/html/ImageInputType.cpp
+++ b/Source/core/html/ImageInputType.cpp
@@ -101,9 +101,9 @@ void ImageInputType::handleDOMActivateEvent(Event* event)
event->setDefaultHandled();
}
-RenderObject* ImageInputType::createRenderer(RenderArena* arena, RenderStyle*) const
+RenderObject* ImageInputType::createRenderer(RenderStyle*) const
{
- RenderImage* image = new (arena) RenderImage(element());
+ RenderImage* image = new RenderImage(element());
image->setImageResource(RenderImageResource::create());
return image;
}

Powered by Google App Engine
This is Rietveld 408576698