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

Unified Diff: Source/core/rendering/RenderFlexibleBox.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/RenderFlexibleBox.cpp
diff --git a/Source/core/rendering/RenderFlexibleBox.cpp b/Source/core/rendering/RenderFlexibleBox.cpp
index c3085d0cb3cecd6b30a698e3838e2a505a05ade0..06768f7af19ff47ceb45d610195a689de26d2db4 100644
--- a/Source/core/rendering/RenderFlexibleBox.cpp
+++ b/Source/core/rendering/RenderFlexibleBox.cpp
@@ -137,7 +137,7 @@ RenderFlexibleBox::~RenderFlexibleBox()
RenderFlexibleBox* RenderFlexibleBox::createAnonymous(Document* document)
{
- RenderFlexibleBox* renderer = new (document->renderArena()) RenderFlexibleBox(0);
+ RenderFlexibleBox* renderer = new RenderFlexibleBox(0);
renderer->setDocumentForAnonymous(document);
return renderer;
}

Powered by Google App Engine
This is Rietveld 408576698