Index: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp |
diff --git a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp |
index 84765cf1a0e60613baede817a927953762f1b214..a950da2e61a0f866a13d2c34965163e2480c0ed8 100644 |
--- a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp |
+++ b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp |
@@ -352,8 +352,8 @@ void DeprecatedPaintLayerCompositor::updateIfNeeded() |
{ |
TRACE_EVENT0("blink", "DeprecatedPaintLayerCompositor::updateAfterCompositingChange"); |
if (const FrameView::ScrollableAreaSet* scrollableAreas = m_layoutView.frameView()->scrollableAreas()) { |
- for (FrameView::ScrollableAreaSet::iterator it = scrollableAreas->begin(); it != scrollableAreas->end(); ++it) |
- layersChanged |= (*it)->updateAfterCompositingChange(); |
+ for (auto* scrollableArea : *scrollableAreas) |
+ layersChanged |= scrollableArea->updateAfterCompositingChange(); |
} |
} |