| Index: third_party/WebKit/Source/core/paint/GridPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/GridPainter.cpp b/third_party/WebKit/Source/core/paint/GridPainter.cpp
|
| index 3fa13c81fed09305ca1f14ead3b79e3bff06916f..d25a196f5b6350d698b31281d6bb904b48cfa1f0 100644
|
| --- a/third_party/WebKit/Source/core/paint/GridPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/GridPainter.cpp
|
| @@ -51,9 +51,9 @@ void GridPainter::paintChildren(const PaintInfo& paintInfo, const LayoutPoint& p
|
|
|
| Vector<std::pair<LayoutBox*, size_t>> gridItemsToBePainted;
|
|
|
| - for (GridSpan::iterator row = dirtiedRows.begin(); row != dirtiedRows.end(); ++row) {
|
| - for (GridSpan::iterator column = dirtiedColumns.begin(); column != dirtiedColumns.end(); ++column) {
|
| - const Vector<LayoutBox*, 1>& children = m_layoutGrid.gridCell(row.toInt(), column.toInt());
|
| + for (const auto& row : dirtiedRows) {
|
| + for (const auto& column : dirtiedColumns) {
|
| + const Vector<LayoutBox*, 1>& children = m_layoutGrid.gridCell(row, column);
|
| for (auto* child : children)
|
| gridItemsToBePainted.append(std::make_pair(child, m_layoutGrid.paintIndexForGridItem(child)));
|
| }
|
|
|