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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.cpp

Issue 2610253004: Migrate WTF::Vector::append() to ::push_back() [part 9 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/layout/LayoutTable.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index a42be72442e04ea98b247701534c0fe64f7c818c..a541b242260e9fc510be933094d0f12474574e54 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -216,7 +216,7 @@ void LayoutTable::addChild(LayoutObject* child, LayoutObject* beforeChild) {
void LayoutTable::addCaption(const LayoutTableCaption* caption) {
ASSERT(m_captions.find(caption) == kNotFound);
- m_captions.append(const_cast<LayoutTableCaption*>(caption));
+ m_captions.push_back(const_cast<LayoutTableCaption*>(caption));
}
void LayoutTable::removeCaption(const LayoutTableCaption* oldCaption) {
@@ -960,7 +960,7 @@ void LayoutTable::splitEffectiveColumn(unsigned index, unsigned firstSpan) {
void LayoutTable::appendEffectiveColumn(unsigned span) {
unsigned newColumnIndex = m_effectiveColumns.size();
- m_effectiveColumns.append(span);
+ m_effectiveColumns.push_back(span);
// Unless the table has cell(s) with colspan that exceed the number of columns
// afforded by the other rows in the table we can use the fast path when
@@ -1006,7 +1006,7 @@ void LayoutTable::updateColumnCache() const {
columnLayoutObject = columnLayoutObject->nextColumn()) {
if (columnLayoutObject->isTableColumnGroupWithColumnChildren())
continue;
- m_columnLayoutObjects.append(columnLayoutObject);
+ m_columnLayoutObjects.push_back(columnLayoutObject);
}
m_columnLayoutObjectsValid = true;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableCell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698