Index: Source/core/rendering/RenderView.h |
diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h |
index 33846ef7df0b6f6e642972affe11c8f9f4fbbde4..80061e0f7d9c10cacd74536cf95ab91e1eb11ef5 100644 |
--- a/Source/core/rendering/RenderView.h |
+++ b/Source/core/rendering/RenderView.h |
@@ -225,7 +225,7 @@ private: |
|| (renderer->isRenderBlock() && toRenderBlock(renderer)->shapeInsideInfo()) |
|| (m_layoutState->shapeInsideInfo() && renderer->isRenderBlock() && !toRenderBlock(renderer)->allowsShapeInsideInfoSharing()) |
) { |
- m_layoutState = new (renderArena()) LayoutState(m_layoutState, renderer, offset, pageHeight, pageHeightChanged, colInfo); |
+ m_layoutState = new LayoutState(m_layoutState, renderer, offset, pageHeight, pageHeightChanged, colInfo); |
return true; |
} |
return false; |
@@ -235,7 +235,7 @@ private: |
{ |
LayoutState* state = m_layoutState; |
m_layoutState = state->m_next; |
- state->destroy(renderArena()); |
+ delete state; |
} |
// Suspends the LayoutState optimization. Used under transforms that cannot be represented by |