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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.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/LayoutBlockFlowLine.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
index 7ee88a8413b2b9d71caf738ae87c3bc3e3ea3d57..4c530509670fae7e6d8e3ab32c9a658bf404551e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
@@ -67,7 +67,7 @@ class ExpansionOpportunities {
text.characters16() + run.m_start, run.m_stop - run.m_start,
run.m_box->direction(), isAfterExpansion, textJustify);
}
- m_runsWithExpansions.append(opportunitiesInRun);
+ m_runsWithExpansions.push_back(opportunitiesInRun);
m_totalOpportunities += opportunitiesInRun;
}
void removeTrailingExpansion() {
@@ -1930,7 +1930,7 @@ void LayoutBlockFlow::layoutInlineChildren(bool relayoutChildren,
if (o->isOutOfFlowPositioned()) {
o->containingBlock()->insertPositionedObject(box);
} else if (o->isFloating()) {
- layoutState.floats().append(FloatWithRect(box));
+ layoutState.floats().push_back(FloatWithRect(box));
if (box->needsLayout()) {
// Be sure to at least mark the first line affected by the float as
// dirty, so that the float gets relaid out. Otherwise we'll miss
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698