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

Unified Diff: Source/core/layout/SubtreeLayoutScope.cpp

Issue 1095043003: Convert LayoutObject renderer names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/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
}
« no previous file with comments | « Source/core/layout/SubtreeLayoutScope.h ('k') | Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698