Index: Source/core/layout/SubtreeLayoutScope.cpp |
diff --git a/Source/core/layout/SubtreeLayoutScope.cpp b/Source/core/layout/SubtreeLayoutScope.cpp |
index dee2af5ba8374497aef5bf8ec74db107d27418c5..585a1ef40fe8d060a504440c18091d00d5c68609 100644 |
--- a/Source/core/layout/SubtreeLayoutScope.cpp |
+++ b/Source/core/layout/SubtreeLayoutScope.cpp |
@@ -47,8 +47,8 @@ SubtreeLayoutScope::~SubtreeLayoutScope() |
RELEASE_ASSERT(!m_root.needsLayout()); |
#if ENABLE(ASSERT) |
- for (auto* renderer : m_renderersToLayout) |
- renderer->assertRendererLaidOut(); |
+ for (auto* layoutObject : m_layoutObjectsToLayout) |
+ layoutObject->assertLaidOut(); |
#endif |
} |
@@ -64,10 +64,10 @@ void SubtreeLayoutScope::setChildNeedsLayout(LayoutObject* descendant) |
descendant->setChildNeedsLayout(MarkContainerChain, this); |
} |
-void SubtreeLayoutScope::addRendererToLayout(LayoutObject* renderer) |
+void SubtreeLayoutScope::recordObjectMarkedForLayout(LayoutObject* layoutObject) |
{ |
#if ENABLE(ASSERT) |
- m_renderersToLayout.add(renderer); |
+ m_layoutObjectsToLayout.add(layoutObject); |
#endif |
} |