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

Unified Diff: third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp

Issue 2562773002: Migrate WTF::Vector::append() to ::push_back() [part 2 of N] (Closed)
Patch Set: rebase Created 4 years 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/animation/CSSSizeListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp
index db49cdb910e89c95e7e995e204b7c0a17a6b2182..c8f659a02b84c86f5f2376ee9d3e1faae8a2a91a 100644
--- a/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSSizeListInterpolationType.cpp
@@ -112,7 +112,8 @@ InterpolationValue CSSSizeListInterpolationType::maybeConvertNeutral(
ConversionCheckers& conversionCheckers) const {
const auto& underlyingList =
toNonInterpolableList(*underlying.nonInterpolableValue);
- conversionCheckers.append(UnderlyingSizeListChecker::create(underlyingList));
+ conversionCheckers.push_back(
+ UnderlyingSizeListChecker::create(underlyingList));
return ListInterpolationFunctions::createList(
underlyingList.length(), [&underlyingList](size_t index) {
return SizeInterpolationFunctions::createNeutralValue(
@@ -132,7 +133,7 @@ InterpolationValue CSSSizeListInterpolationType::maybeConvertInherit(
ConversionCheckers& conversionCheckers) const {
SizeList inheritedSizeList = SizeListPropertyFunctions::getSizeList(
cssProperty(), *state.parentStyle());
- conversionCheckers.append(
+ conversionCheckers.push_back(
InheritedSizeListChecker::create(cssProperty(), inheritedSizeList));
return convertSizeList(inheritedSizeList, state.style()->effectiveZoom());
}

Powered by Google App Engine
This is Rietveld 408576698