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

Unified Diff: third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.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/CSSBasicShapeInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp
index f8ac49d97441077f23d4063975b85f3c514a30f2..dd9c0f09d288273f8fdbd163c7ed30e8630d332f 100644
--- a/third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp
@@ -73,7 +73,7 @@ InterpolationValue CSSBasicShapeInterpolationType::maybeConvertNeutral(
// const_cast is for taking refs.
NonInterpolableValue* nonInterpolableValue =
const_cast<NonInterpolableValue*>(underlying.nonInterpolableValue.get());
- conversionCheckers.append(
+ conversionCheckers.push_back(
UnderlyingCompatibilityChecker::create(nonInterpolableValue));
return InterpolationValue(
BasicShapeInterpolationFunctions::createNeutralValue(
@@ -94,7 +94,7 @@ InterpolationValue CSSBasicShapeInterpolationType::maybeConvertInherit(
const BasicShape* shape = BasicShapePropertyFunctions::getBasicShape(
cssProperty(), *state.parentStyle());
// const_cast to take a ref.
- conversionCheckers.append(InheritedShapeChecker::create(
+ conversionCheckers.push_back(InheritedShapeChecker::create(
cssProperty(), const_cast<BasicShape*>(shape)));
return BasicShapeInterpolationFunctions::maybeConvertBasicShape(
shape, state.parentStyle()->effectiveZoom());

Powered by Google App Engine
This is Rietveld 408576698