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

Unified Diff: Source/core/html/HTMLPlugInImageElement.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/HTMLMeterElement.cpp ('k') | Source/core/html/HTMLProgressElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLPlugInImageElement.cpp
diff --git a/Source/core/html/HTMLPlugInImageElement.cpp b/Source/core/html/HTMLPlugInImageElement.cpp
index 28ac068c0494f51c769edcc9f17c43f9feaae012..5864a212935df8fa815b1c23119e5b4afb4d1aa2 100644
--- a/Source/core/html/HTMLPlugInImageElement.cpp
+++ b/Source/core/html/HTMLPlugInImageElement.cpp
@@ -135,12 +135,12 @@ RenderObject* HTMLPlugInImageElement::createRenderer(RenderStyle* style)
return RenderObject::createObject(this, style);
if (isImageType()) {
- RenderImage* image = new (document()->renderArena()) RenderImage(this);
+ RenderImage* image = new RenderImage(this);
image->setImageResource(RenderImageResource::create());
return image;
}
- return new (document()->renderArena()) RenderEmbeddedObject(this);
+ return new RenderEmbeddedObject(this);
}
void HTMLPlugInImageElement::willRecalcStyle(StyleChange)
« no previous file with comments | « Source/core/html/HTMLMeterElement.cpp ('k') | Source/core/html/HTMLProgressElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698