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

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

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.cpp
diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
index 32d63a0bcfa7130e5b007de7b28550cd4e6f33e5..d484b2ada8974ec37fd4fa50fac626eee10a077f 100644
--- a/Source/core/rendering/RenderView.cpp
+++ b/Source/core/rendering/RenderView.cpp
@@ -870,7 +870,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()
@@ -992,7 +992,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

Powered by Google App Engine
This is Rietveld 408576698