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

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

Issue 20231002: Replace RenderArena with PartitionAlloc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 5 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
« no previous file with comments | « Source/core/rendering/RenderView.h ('k') | Source/core/rendering/RenderWidget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderView.cpp
diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
index 07a4e491b7ab077221e1ce03991ae1a01833be60..12b102bd0b3e42956dc666d16f6bca032b3c970b 100644
--- a/Source/core/rendering/RenderView.cpp
+++ b/Source/core/rendering/RenderView.cpp
@@ -893,7 +893,7 @@ void RenderView::releaseWidgets(Vector<RenderWidget*>& renderWidgets)
size_t size = renderWidgets.size();
for (size_t i = 0; i < size; ++i)
- renderWidgets[i]->deref(renderArena());
+ renderWidgets[i]->deref();
}
void RenderView::updateWidgetPositions()
@@ -1015,7 +1015,7 @@ void RenderView::pushLayoutState(RenderObject* root)
ASSERT(m_layoutStateDisableCount == 0);
ASSERT(m_layoutState == 0);
- m_layoutState = new (renderArena()) LayoutState(root);
+ m_layoutState = new LayoutState(root);
}
bool RenderView::shouldDisableLayoutStateForSubtree(RenderObject* renderer) const
« no previous file with comments | « Source/core/rendering/RenderView.h ('k') | Source/core/rendering/RenderWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698