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

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

Issue 423093002: Oilpan: Prepare to move RenderObject and RenderObjectChildList to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add more trace Created 6 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
Index: Source/core/rendering/RenderBlock.cpp
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
index 5904ebd27ab0fbf205a7b55a81d1843b84aa7437..2098994a11bbe97eb03fbde5ba4307ea40fdca2e 100644
--- a/Source/core/rendering/RenderBlock.cpp
+++ b/Source/core/rendering/RenderBlock.cpp
@@ -160,6 +160,12 @@ RenderBlock::RenderBlock(ContainerNode* node)
// By default, subclasses do not have inline children.
}
+void RenderBlock::trace(Visitor* visitor)
+{
+ visitor->trace(m_children);
+ RenderBox::trace(visitor);
+}
+
static void removeBlockFromDescendantAndContainerMaps(RenderBlock* block, TrackedDescendantsMap*& descendantMap, TrackedContainerMap*& containerMap)
{
if (OwnPtr<TrackedRendererListHashSet> descendantSet = descendantMap->take(block)) {
@@ -1050,7 +1056,7 @@ void RenderBlock::removeLeftoverAnonymousBlock(RenderBlock* child)
}
child->children()->setFirstChild(0);
- child->m_next = 0;
+ child->m_next = nullptr;
// Remove all the information in the flow thread associated with the leftover anonymous block.
child->removeFromRenderFlowThread();

Powered by Google App Engine
This is Rietveld 408576698