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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXTable.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
Index: third_party/WebKit/Source/modules/accessibility/AXTable.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXTable.cpp b/third_party/WebKit/Source/modules/accessibility/AXTable.cpp
index cc5d4b64612e4aa94d7c57ea790fa80f662627bd..a2e93e05063dd3876ee8d61797162a9bb66fac05 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXTable.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXTable.cpp
@@ -386,7 +386,7 @@ void AXTable::addChildren() {
toHTMLTableElement(tableNode)->caption()) {
AXObject* captionObject = axCache.getOrCreate(caption);
if (captionObject && !captionObject->accessibilityIsIgnored())
- m_children.append(captionObject);
+ m_children.push_back(captionObject);
}
// Go through all the available sections to pull out the rows and add them as
@@ -416,9 +416,9 @@ void AXTable::addChildren() {
continue;
row->setRowIndex(static_cast<int>(m_rows.size()));
- m_rows.append(row);
+ m_rows.push_back(row);
if (!row->accessibilityIsIgnored())
- m_children.append(row);
+ m_children.push_back(row);
appendedRows.add(row);
}
@@ -431,14 +431,14 @@ void AXTable::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);
}
AXObject* AXTable::headerContainer() {

Powered by Google App Engine
This is Rietveld 408576698