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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.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/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index 2c7f1e610b4f8f2415cbb455396d0d10254d77c9..9875c6b5a02efa29f95d638a0e1509f6bf38eb38 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -1060,7 +1060,7 @@ void LayoutBlock::removePositionedObjects(
if (p)
p->setChildNeedsLayout();
- deadObjects.append(positionedObject);
+ deadObjects.push_back(positionedObject);
}
}
@@ -1871,7 +1871,7 @@ void LayoutBlock::addOutlineRects(
const LayoutPoint& additionalOffset,
IncludeBlockVisualOverflowOrNot includeBlockOverflows) const {
if (!isAnonymous()) // For anonymous blocks, the children add outline rects.
- rects.append(LayoutRect(additionalOffset, size()));
+ rects.push_back(LayoutRect(additionalOffset, size()));
if (includeBlockOverflows == IncludeBlockVisualOverflow &&
!hasOverflowClip() && !hasControlClip()) {

Powered by Google App Engine
This is Rietveld 408576698