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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXARIAGrid.cpp

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/accessibility/AXARIAGridRow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/accessibility/AXARIAGrid.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXARIAGrid.cpp b/third_party/WebKit/Source/modules/accessibility/AXARIAGrid.cpp
index 2fa3906937bf4ede6389e891b01ad3140651e2fc..8a8389b034c21f339b79e37a7b4ab9642817e8ed 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXARIAGrid.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXARIAGrid.cpp
@@ -61,12 +61,12 @@ bool AXARIAGrid::addTableRowChild(AXObject* child,
columnCount = rowCellCount;
row->setRowIndex((int)m_rows.size());
- m_rows.append(row);
+ m_rows.push_back(row);
// Try adding the row if it's not ignoring accessibility,
// otherwise add its children (the cells) as the grid's children.
if (!row->accessibilityIsIgnored())
- m_children.append(row);
+ m_children.push_back(row);
else
m_children.appendVector(row->children());
@@ -90,7 +90,7 @@ void AXARIAGrid::addChildren() {
HeapVector<Member<AXObject>> children;
for (AXObject* child = rawFirstChild(); child;
child = child->rawNextSibling())
- children.append(child);
+ children.push_back(child);
computeAriaOwnsChildren(children);
AXObjectCacheImpl& axCache = axObjectCache();
@@ -118,14 +118,14 @@ void AXARIAGrid::addChildren() {
AXTableColumn* column = toAXTableColumn(axCache.getOrCreate(ColumnRole));
column->setColumnIndex((int)i);
column->setParent(this);
- m_columns.append(column);
+ m_columns.push_back(column);
if (!column->accessibilityIsIgnored())
- m_children.append(column);
+ m_children.push_back(column);
}
AXObject* headerContainerObject = headerContainer();
if (headerContainerObject && !headerContainerObject->accessibilityIsIgnored())
- m_children.append(headerContainerObject);
+ m_children.push_back(headerContainerObject);
}
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/accessibility/AXARIAGridRow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698