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

Unified Diff: Source/core/rendering/RenderView.h

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/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

Powered by Google App Engine
This is Rietveld 408576698