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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_units.cc

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/ng/ng_units.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_units.cc b/third_party/WebKit/Source/core/layout/ng/ng_units.cc
index 4db0bc8bac5f94a2ec0165626841100ed6cc1419..5ca4d0d24455acb8e2b47757ddf99b0e523bbeb0 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_units.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_units.cc
@@ -258,7 +258,7 @@ NGExclusions::NGExclusions(const NGExclusions& other) {
}
void NGExclusions::Add(const NGExclusion& exclusion) {
- storage.append(WTF::makeUnique<NGExclusion>(exclusion));
+ storage.push_back(WTF::makeUnique<NGExclusion>(exclusion));
if (exclusion.type == NGExclusion::kFloatLeft) {
last_left_float = storage.rbegin()->get();
} else if (exclusion.type == NGExclusion::kFloatRight) {

Powered by Google App Engine
This is Rietveld 408576698