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

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

Issue 2502413004: WTF/std normalization: replace WTF::Vector::last with ::back (Closed)
Patch Set: rebase Created 4 years, 1 month 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/CompositorAnimationsTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp b/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
index 2912efe39f4d293d3e2ff693f9062cd989a031e1..3749d327b13f56e677ff22a71306f4a0defc3f27 100644
--- a/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
+++ b/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
@@ -419,12 +419,12 @@ TEST_F(AnimationCompositorAnimationsTest,
TEST_F(AnimationCompositorAnimationsTest, AnimatedBoundingBox) {
Vector<TransformOperations> transformVector;
transformVector.append(TransformOperations());
- transformVector.last().operations().append(
+ transformVector.back().operations().append(
TranslateTransformOperation::create(Length(0, Fixed), Length(0, Fixed),
0.0,
TransformOperation::Translate3D));
transformVector.append(TransformOperations());
- transformVector.last().operations().append(
+ transformVector.back().operations().append(
TranslateTransformOperation::create(Length(200, Fixed),
Length(200, Fixed), 0.0,
TransformOperation::Translate3D));
@@ -439,7 +439,7 @@ TEST_F(AnimationCompositorAnimationsTest, AnimatedBoundingBox) {
bounds, *AnimatableValueKeyframeEffectModel::create(*frames), -1, 1));
EXPECT_EQ(FloatBox(-200.0f, -200.0, 0.0, 400.0f, 400.0f, 0.0f), bounds);
transformVector.append(TransformOperations());
- transformVector.last().operations().append(
+ transformVector.back().operations().append(
TranslateTransformOperation::create(Length(-300, Fixed),
Length(-400, Fixed), 1.0f,
TransformOperation::Translate3D));

Powered by Google App Engine
This is Rietveld 408576698