Index: Source/core/rendering/RenderView.h |
diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h |
index 3b93e29bdc6aff7e0bd2e6cf5346ff626d20a9bc..4c26486a169dbe14fcde9a23006a1c6677e96e3d 100644 |
--- a/Source/core/rendering/RenderView.h |
+++ b/Source/core/rendering/RenderView.h |
@@ -221,7 +221,7 @@ private: |
|| (renderer->isRenderBlock() && toRenderBlock(renderer)->exclusionShapeInsideInfo()) |
|| (m_layoutState->exclusionShapeInsideInfo() && renderer->isRenderBlock() && !toRenderBlock(renderer)->allowsExclusionShapeInsideInfoSharing()) |
) { |
- 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; |
@@ -231,7 +231,7 @@ private: |
{ |
LayoutState* state = m_layoutState; |
m_layoutState = state->m_next; |
- state->destroy(renderArena()); |
+ state->destroy(); |
} |
// Suspends the LayoutState optimization. Used under transforms that cannot be represented by |