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(); |
} |