Index: Source/core/layout/SubtreeLayoutScope.cpp |
diff --git a/Source/core/layout/SubtreeLayoutScope.cpp b/Source/core/layout/SubtreeLayoutScope.cpp |
index c9f31de9d258222f2705ed1eb6b284a931dfb960..dee2af5ba8374497aef5bf8ec74db107d27418c5 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 (HashSet<LayoutObject*>::iterator it = m_renderersToLayout.begin(); it != m_renderersToLayout.end(); ++it) |
- (*it)->assertRendererLaidOut(); |
+ for (auto* renderer : m_renderersToLayout) |
+ renderer->assertRendererLaidOut(); |
#endif |
} |