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

Unified Diff: Source/core/rendering/RenderLayerModelObject.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/RenderLayerModelObject.cpp
diff --git a/Source/core/rendering/RenderLayerModelObject.cpp b/Source/core/rendering/RenderLayerModelObject.cpp
index 6c11f67c8c8a813390bee8056206c73c88807fec..755f041877e1875658df3c6f13cdb4af751fabe8 100644
--- a/Source/core/rendering/RenderLayerModelObject.cpp
+++ b/Source/core/rendering/RenderLayerModelObject.cpp
@@ -54,7 +54,7 @@ void RenderLayerModelObject::destroyLayer()
{
ASSERT(!hasLayer()); // Callers should have already called setHasLayer(false)
ASSERT(m_layer);
- m_layer->destroy(renderArena());
+ m_layer->destroy();
m_layer = 0;
}
@@ -63,7 +63,7 @@ void RenderLayerModelObject::ensureLayer()
if (m_layer)
return;
- m_layer = new (renderArena()) RenderLayer(this);
+ m_layer = new RenderLayer(this);
setHasLayer(true);
m_layer->insertOnlyThisLayer();
}

Powered by Google App Engine
This is Rietveld 408576698