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

Unified Diff: third_party/WebKit/Source/core/paint/GridPainter.cpp

Issue 2617783002: Migrate WTF::Vector::append() to ::push_back() [part 12 of N] (Closed)
Patch Set: rebase Created 3 years, 11 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: 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 2df637c9cbb9e5ed561cd544226f97e759339a33..fb57d1d3b34f9a4cbcbce83b75f0fc9347632d03 100644
--- a/third_party/WebKit/Source/core/paint/GridPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/GridPainter.cpp
@@ -84,14 +84,14 @@ void GridPainter::paintChildren(const PaintInfo& paintInfo,
const Vector<LayoutBox*, 1>& children =
m_layoutGrid.gridCell(row, column);
for (auto* child : children)
- gridItemsToBePainted.append(
+ gridItemsToBePainted.push_back(
std::make_pair(child, m_layoutGrid.paintIndexForGridItem(child)));
}
}
for (auto* item : m_layoutGrid.itemsOverflowingGridArea()) {
if (item->frameRect().intersects(localVisualRect))
- gridItemsToBePainted.append(
+ gridItemsToBePainted.push_back(
std::make_pair(item, m_layoutGrid.paintIndexForGridItem(item)));
}

Powered by Google App Engine
This is Rietveld 408576698