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

Unified Diff: Source/core/rendering/RenderImage.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/rendering/RenderImage.cpp
diff --git a/Source/core/rendering/RenderImage.cpp b/Source/core/rendering/RenderImage.cpp
index ea1df7ae3e7090573958d088d9e9f74e50218ef1..73b7f95561990e5a74bcbb85f0054144c71d5ef5 100644
--- a/Source/core/rendering/RenderImage.cpp
+++ b/Source/core/rendering/RenderImage.cpp
@@ -63,7 +63,7 @@ RenderImage::RenderImage(Element* element)
RenderImage* RenderImage::createAnonymous(Document* document)
{
- RenderImage* image = new (document->renderArena()) RenderImage(0);
+ RenderImage* image = new RenderImage(0);
image->setDocumentForAnonymous(document);
return image;
}

Powered by Google App Engine
This is Rietveld 408576698