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

Unified Diff: third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.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/CSSFilterListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp
index aee62dce5fceac22d6bcaec0cff7888784e3c10d..980ef0f70452c0d5ebdbcd52e8648ead71dfe206 100644
--- a/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp
@@ -107,7 +107,7 @@ InterpolationValue CSSFilterListInterpolationType::maybeConvertNeutral(
// const_cast for taking refs.
NonInterpolableList& nonInterpolableList = const_cast<NonInterpolableList&>(
toNonInterpolableList(*underlying.nonInterpolableValue));
- conversionCheckers.append(
+ conversionCheckers.push_back(
UnderlyingFilterListChecker::create(&nonInterpolableList));
return InterpolationValue(underlying.interpolableValue->cloneAndZero(),
&nonInterpolableList);
@@ -126,7 +126,7 @@ InterpolationValue CSSFilterListInterpolationType::maybeConvertInherit(
const FilterOperations& inheritedFilterOperations =
FilterListPropertyFunctions::getFilterList(cssProperty(),
*state.parentStyle());
- conversionCheckers.append(InheritedFilterListChecker::create(
+ conversionCheckers.push_back(InheritedFilterListChecker::create(
cssProperty(), inheritedFilterOperations));
return convertFilterList(inheritedFilterOperations,
state.style()->effectiveZoom());
@@ -286,7 +286,7 @@ void CSSFilterListInterpolationType::apply(
FilterOperations filterOperations;
filterOperations.operations().reserveCapacity(length);
for (size_t i = 0; i < length; i++)
- filterOperations.operations().append(
+ filterOperations.operations().push_back(
FilterInterpolationFunctions::createFilter(*interpolableList.get(i),
*nonInterpolableList.get(i),
environment.state()));

Powered by Google App Engine
This is Rietveld 408576698