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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.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/css/CSSAnimatableValueFactory.cpp
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
index cc0489fb1b0fc077f1ad2646accb2f9734ab632a..8f455bf4d031b1ad4f9e9441711a644586d3936b 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
@@ -233,26 +233,26 @@ inline static PassRefPtr<AnimatableValue> createFromFillLayers(
property == CSSPropertyWebkitMaskImage) {
if (!fillLayer->isImageSet())
break;
- values.append(createFromStyleImage(fillLayer->image()));
+ values.push_back(createFromStyleImage(fillLayer->image()));
} else if (property == CSSPropertyBackgroundPositionX ||
property == CSSPropertyWebkitMaskPositionX) {
if (!fillLayer->isXPositionSet())
break;
- values.append(createFromBackgroundPosition(
+ values.push_back(createFromBackgroundPosition(
fillLayer->xPosition(), fillLayer->isBackgroundXOriginSet(),
fillLayer->backgroundXOrigin(), style));
} else if (property == CSSPropertyBackgroundPositionY ||
property == CSSPropertyWebkitMaskPositionY) {
if (!fillLayer->isYPositionSet())
break;
- values.append(createFromBackgroundPosition(
+ values.push_back(createFromBackgroundPosition(
fillLayer->yPosition(), fillLayer->isBackgroundYOriginSet(),
fillLayer->backgroundYOrigin(), style));
} else if (property == CSSPropertyBackgroundSize ||
property == CSSPropertyWebkitMaskSize) {
if (!fillLayer->isSizeSet())
break;
- values.append(createFromFillSize(fillLayer->size(), style));
+ values.push_back(createFromFillSize(fillLayer->size(), style));
} else {
NOTREACHED();
}
@@ -293,7 +293,7 @@ static PassRefPtr<AnimatableValue> createFromTransformProperties(
double zoom,
PassRefPtr<TransformOperation> initialTransform) {
TransformOperations operation;
- operation.operations().append(transform ? transform : initialTransform);
+ operation.operations().push_back(transform ? transform : initialTransform);
return AnimatableTransform::create(operation, transform ? zoom : 1);
}

Powered by Google App Engine
This is Rietveld 408576698