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

Unified Diff: third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.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/CSSLengthListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp
index 6ed3c0d17f9d9cfccf9c5c611f7711191cf3e3e9..c3a82e073fb3a21976584a2f0357eb722a22d109 100644
--- a/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp
@@ -26,7 +26,8 @@ InterpolationValue CSSLengthListInterpolationType::maybeConvertNeutral(
ConversionCheckers& conversionCheckers) const {
size_t underlyingLength =
UnderlyingLengthChecker::getUnderlyingLength(underlying);
- conversionCheckers.append(UnderlyingLengthChecker::create(underlyingLength));
+ conversionCheckers.push_back(
+ UnderlyingLengthChecker::create(underlyingLength));
if (underlyingLength == 0)
return nullptr;
@@ -94,7 +95,7 @@ InterpolationValue CSSLengthListInterpolationType::maybeConvertInherit(
Vector<Length> inheritedLengthList;
bool success = LengthListPropertyFunctions::getLengthList(
cssProperty(), *state.parentStyle(), inheritedLengthList);
- conversionCheckers.append(
+ conversionCheckers.push_back(
InheritedLengthListChecker::create(cssProperty(), inheritedLengthList));
if (!success)
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698