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

Unified Diff: Source/core/rendering/RenderListMarker.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/RenderListMarker.cpp
diff --git a/Source/core/rendering/RenderListMarker.cpp b/Source/core/rendering/RenderListMarker.cpp
index 092f8f4669e80d796f64b2ba087fc322fd610dfd..fafefe1e27da3261fc63f31fc5338b68fb6a5518 100644
--- a/Source/core/rendering/RenderListMarker.cpp
+++ b/Source/core/rendering/RenderListMarker.cpp
@@ -1072,7 +1072,7 @@ RenderListMarker::~RenderListMarker()
RenderListMarker* RenderListMarker::createAnonymous(RenderListItem* item)
{
Document* document = item->document();
- RenderListMarker* renderer = new (document->renderArena()) RenderListMarker(item);
+ RenderListMarker* renderer = new RenderListMarker(item);
renderer->setDocumentForAnonymous(document);
return renderer;
}

Powered by Google App Engine
This is Rietveld 408576698